]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
device property: Add a note to the fwnode.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 8 Apr 2025 09:48:55 +0000 (12:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 16:10:57 +0000 (18:10 +0200)
commit1ae5e4c0626d6954114d9725990ac9c498f3b1ab
tree88c831e05ac94859943aaed2eb561dbf05002a89
parenta8e858e29955175ab7587190d449fa6a566d90e5
device property: Add a note to the fwnode.h

Add a note to the fwnode.h that the header should not be used
directly in the leaf drivers, they all should use the higher
level APIs and the respective headers.

The purpose of this note is to give guidance to driver writers
to avoid repeating a common mistake.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250408095229.1298005-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/fwnode.h