aboutsummaryrefslogtreecommitdiffstats
path: root/tools/scripts/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-06-10 13:33:24 +0300
committerGuenter Roeck <linux@roeck-us.net>2022-07-13 08:38:20 -0700
commit452d5e2976941c24c4fe9e6d782bfbac3cabd54f (patch)
tree8cd53ef0cf3dd96b05792bae6f248dcee03963e8 /tools/scripts/ssh:/git@git.zx2c4.com/git:
parenthwmon: (pmbus) fix build error unused-function (diff)
downloadlinux-dev-452d5e2976941c24c4fe9e6d782bfbac3cabd54f.tar.xz
linux-dev-452d5e2976941c24c4fe9e6d782bfbac3cabd54f.zip
hwmon: (nct6775) Drop duplicate NULL check in ->init() and ->exit()
Since platform_device_unregister() is NULL-aware, we don't need to duplicate this check. Remove it and fold the rest of the code. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Zev Weiss <zev@bewilderbeest.net> Link: https://lore.kernel.org/r/20220610103324.87483-1-andriy.shevchenko@linux.intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions