]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (as370-hwmon) fix devm_platform_ioremap_resource.cocci warnings
authorkbuild test robot <lkp@intel.com>
Tue, 3 Sep 2019 04:47:52 +0000 (06:47 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 3 Sep 2019 19:47:17 +0000 (12:47 -0700)
commit09fe787051db0cf84cd9fcf041dbdd2ba416c6dc
treedb5126dfde3785eb61d3548f6ce0dbec5720623d
parentd7a85cde90ed9f53a233e211d7cba99d10d1146b
hwmon: (as370-hwmon) fix devm_platform_ioremap_resource.cocci warnings

 Use devm_platform_ioremap_resource helper which wraps
 platform_get_resource() and devm_ioremap_resource() together.

Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci

Fixes: 658e687b4218 ("hwmon: Add Synaptics AS370 PVT sensor driver")
CC: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Reviewed-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.1909030646180.3228@hadrien
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/as370-hwmon.c