Searched hist:bb19133fc89b31eb6b490b25cb92626a10700c82 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | pmbus_core.c | diff bb19133fc89b31eb6b490b25cb92626a10700c82 Mon Aug 24 12:38:58 CDT 2020 Bartosz Golaszewski <bgolaszewski@baylibre.com> hwmon: pmbus: use more devres helpers
Shrink pmbus code by using devm_hwmon_device_register_with_groups() and devm_krealloc() instead of their non-managed variants.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20200824173859.4910-3-brgl@bgdev.pl Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|