]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hwmon: (pmbus/mp2975) Constify local pointers to pmbus_driver_info
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Mar 2024 12:07:43 +0000 (14:07 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 28 Apr 2024 17:08:33 +0000 (10:08 -0700)
commit9050b39b2fab51231b6a68d00238e6edea950987
treefc0648d0f14a282ae09e96c0add9276d4a36e79e
parentd2bc4a994a1eb34cf35615af86445d105f419192
hwmon: (pmbus/mp2975) Constify local pointers to pmbus_driver_info

Constify the local variables pointing to "struct pmbus_driver_info" and
other encoding params to annotate the function is not modifying pointed
data.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240325120952.3019767-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/mp2975.c