summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-02-12 03:02:39 +0100
committerLee Jones <lee.jones@linaro.org>2016-02-12 09:50:30 +0100
commite47a3cf741e71b8c545a826df42432fec3ea60c6 (patch)
tree2d762bb5ce0e49a108b2014c08feaf9f884b497d /scripts
parentmfd: axp20x: Add AXP223 to list of supported PMICs in DT bindings (diff)
downloadlinux-e47a3cf741e71b8c545a826df42432fec3ea60c6.tar.xz
linux-e47a3cf741e71b8c545a826df42432fec3ea60c6.zip
mfd: axp20x: Remove second struct device * parameter for axp20x_match_device()
The first argument passed to axp20x_match_device(), struct axp20x_dev *, already contains a pointer to the device. By rearranging some code, moving the assignment of the pointer before axp20x_match_device() is called, we can eliminate the second parameter. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions