diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-02-12 03:02:39 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-02-12 09:50:30 +0100 |
commit | e47a3cf741e71b8c545a826df42432fec3ea60c6 (patch) | |
tree | 2d762bb5ce0e49a108b2014c08feaf9f884b497d /scripts | |
parent | mfd: axp20x: Add AXP223 to list of supported PMICs in DT bindings (diff) | |
download | linux-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