summaryrefslogtreecommitdiff
path: root/include/linux/mfd/hi655x-pmic.h
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-07-06 19:39:39 +0800
committerLee Jones <lee@kernel.org>2023-08-18 21:48:00 +0100
commit2459f4dfe5529f8b847f452473e2da08a8fc9fe5 (patch)
tree4e0388d4f498660ac184e3195edd33106691db27 /include/linux/mfd/hi655x-pmic.h
parent4c0104bf903fa9be39a7e1227eef8bca81c17bca (diff)
mfd: hi655x-pmic: Convert to devm_platform_ioremap_resource()
Use devm_platform_ioremap_resource() to simplify code. Signed-off-by: Yangtao Li <frank.li@vivo.com> Link: https://lore.kernel.org/r/20230706113939.1178-7-frank.li@vivo.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux/mfd/hi655x-pmic.h')
-rw-r--r--include/linux/mfd/hi655x-pmic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/hi655x-pmic.h b/include/linux/mfd/hi655x-pmic.h
index 6a012784dd1b..194556851ccf 100644
--- a/include/linux/mfd/hi655x-pmic.h
+++ b/include/linux/mfd/hi655x-pmic.h
@@ -52,7 +52,6 @@
#define OTMP_D1R_INT_MASK BIT(OTMP_D1R_INT)
struct hi655x_pmic {
- struct resource *res;
struct device *dev;
struct regmap *regmap;
struct gpio_desc *gpio;