Jonathan Cameron 77fc5151f9 device property: Move fwnode_handle_put() into property.h
By having this function as static inline in the header, the compiler
is able to see if can optmize the call out if (IS_ERR_OR_NULL(fwnode))
This will allow a simpler DEFINE_FREE() call in the following patch.

Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240217164249.921878-2-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-03-25 19:50:08 +00:00
..
2024-03-13 11:01:21 -07:00
2024-03-06 08:29:20 -07:00
2024-03-21 13:34:15 -07:00
2024-03-21 13:34:15 -07:00
2021-06-15 17:14:36 +02:00
2021-06-15 17:14:36 +02:00