[PATCH -next v2 0/7] regulator: Remove redundant of_match_ptr() macros
From: Chen Jiahao <hidden>
Date: 2023-08-09 10:05:57
Since these drivers depend on CONFIG_OF, it makes no difference to wrap of_match_ptr() here, nor can we save .text space from it. Remove of_match_ptr() macros to clean it up. Chen Jiahao (7): regulator: da9121-regulator: Remove redundant of_match_ptr() macros regulator: lp87565: Remove redundant of_match_ptr() macros regulator: hi6421: Remove redundant of_match_ptr() macros regulator: mcp16502: Remove redundant of_match_ptr() macros regulator: mpq7920: Remove redundant of_match_ptr() macro regulator: pfuze100-regulator: Remove redundant of_match_ptr() macro regulator: tps6286x-regulator: Remove redundant of_match_ptr() macros drivers/regulator/da9121-regulator.c | 18 +++++++++--------- drivers/regulator/hi6421-regulator.c | 20 ++++++++++---------- drivers/regulator/lp87565-regulator.c | 4 ++-- drivers/regulator/mcp16502.c | 6 +++--- drivers/regulator/mpq7920.c | 2 +- drivers/regulator/pfuze100-regulator.c | 3 +-- drivers/regulator/tps6286x-regulator.c | 6 +++--- 7 files changed, 29 insertions(+), 30 deletions(-) -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel