Chen-Yu Tsai e47a3cf741 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>
2016-02-12 08:50:30 +00:00
..
2015-11-06 10:23:50 -08:00
2016-01-11 06:41:52 +00:00
2015-08-11 15:09:01 +01:00
2015-03-26 14:20:18 +00:00
2015-10-30 17:19:51 +00:00
2015-10-30 17:19:51 +00:00
2015-09-04 11:35:03 -07:00
2015-10-26 14:48:57 +00:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2013-07-31 13:01:29 +01:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00
2015-08-11 15:09:01 +01:00
2015-09-04 11:46:02 -07:00
2015-09-04 11:46:02 -07:00