]> git.baikalelectronics.ru Git - kernel.git/commit
device property: Add const qualifier to device_get_match_data() parameter
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 Sep 2022 13:54:10 +0000 (16:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2022 13:03:25 +0000 (15:03 +0200)
commit81df6b8e7a1d4b79ac711f5d5479f7c206e02443
tree09c88444fd71c224485c63e460438bf2ca43f810
parentccfae49f419800eba113d9fb0163795ecce98b24
device property: Add const qualifier to device_get_match_data() parameter

Add const qualifier to the device_get_match_data() parameter.
Some of the future users may utilize this function without
forcing the type.

All the same, dev_fwnode() may be used with a const qualifier.

Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220922135410.49694-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/property.c
include/linux/property.h