Chen-Yu Tsai
af7acc3df7
mfd: axp20x: Use dev->driver->of_match_table in axp20x_match_device()
...
In axp20x_match_device(), match the of_device_id table bound to the
device driver instead of pointing to axp20x_of_match directly. This
will allow us to keep axp20x_match_device() unmodified when we expand
the axp20x driver into multiple ones covering different interface
types.
of_device_get_match_data() cannot be used here as we need to know if
it failed to get a match, or if the match data value just happened to
be 0, as it is for the AXP152.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-02-12 08:51:17 +00:00
..
2016-01-29 21:44:53 +01:00
2016-01-11 19:33:59 -08:00
2016-01-31 16:55:04 -08:00
2016-01-17 12:32:01 -08:00
2016-01-24 12:34:13 -08:00
2016-01-20 18:42:30 -08:00
2016-01-23 12:24:56 -08:00
2016-01-20 18:16:29 -08:00
2016-01-31 15:49:06 -08:00
2016-01-29 21:45:17 +01:00
2016-01-29 21:45:17 +01:00
2016-01-22 11:58:43 -08:00
2016-01-13 17:30:33 +09:00
2016-01-20 10:15:21 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 18:03:56 -08:00
2016-01-29 10:04:29 +10:00
2016-01-20 17:30:20 -08:00
2016-01-07 16:07:54 +01:00
2016-01-13 10:23:36 -08:00
2016-01-27 18:48:46 -08:00
2016-01-29 11:13:52 +01:00
2016-01-18 14:12:33 -05:00
2016-01-31 17:00:27 -08:00
2016-01-23 18:45:06 -08:00
2016-01-22 17:20:30 -08:00
2016-01-29 12:30:47 +01:00
2016-01-31 14:48:58 -08:00
2016-01-11 23:55:43 -05:00
2016-01-17 12:32:01 -08:00
2016-01-12 12:17:28 +01:00
2016-01-12 08:21:18 -07:00
2016-01-21 18:19:38 -08:00
2016-01-20 17:09:18 -08:00
2016-01-20 18:42:30 -08:00
2016-01-20 17:09:18 -08:00
2016-02-12 08:51:17 +00:00
2016-01-21 12:32:08 -08:00
2016-01-22 12:04:21 -08:00
2016-01-24 12:50:56 -08:00
2016-01-23 18:45:06 -08:00
2016-01-21 19:53:10 -05:00
2016-01-15 17:56:32 -08:00
2016-01-21 19:58:02 -08:00
2016-01-31 14:48:58 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-29 21:44:53 +01:00
2016-01-17 12:32:01 -08:00
2016-01-24 10:15:01 -08:00
2016-01-14 01:03:18 +01:00
2016-01-12 01:12:40 +01:00
2016-01-21 15:04:59 +01:00
2016-01-20 17:09:18 -08:00
2016-01-15 12:14:47 -08:00
2016-01-12 20:47:06 +02:00
2016-01-12 20:47:06 +02:00
2016-01-18 12:10:45 -08:00
2016-01-26 12:47:51 +01:00
2016-01-26 17:44:42 -08:00
2016-01-22 17:30:52 -08:00
2016-01-15 13:18:47 -08:00
2016-01-31 17:09:39 -08:00
2016-01-21 19:58:02 -08:00
2016-01-24 12:43:06 -08:00
2016-01-31 17:09:39 -08:00
2016-01-28 08:32:42 -08:00
2016-01-27 11:22:25 -07:00
2016-01-22 18:04:28 -05:00
2016-01-26 10:18:28 +02:00
2016-01-11 22:48:05 +01:00
2016-01-29 15:13:48 -08:00