Files
kernel_arpi/include/linux
Ognjen Galic 285995d15d power: add to_power_supply macro to the API
This patch adds the to_power_supply macro to upcast
a device to a power_supply struct.

This is needed because the same piece of code using
container_of is used in various other places, so we
abstract away such low-level operations via a macro.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ognjen Galic <smclt30p@gmail.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2018-02-21 23:27:13 +01:00
..
2018-01-01 22:54:42 -08:00
2018-01-02 13:59:16 -05:00
2018-02-06 18:32:44 -08:00
2017-12-19 16:35:34 -08:00
2018-01-03 14:03:48 +01:00
2018-02-12 15:59:08 +00:00
2018-01-01 12:40:27 -07:00
2018-01-25 14:10:39 -08:00
2018-01-16 00:04:19 +01:00
2018-02-06 16:41:29 -05:00
2018-01-17 11:30:16 +00:00
2017-12-29 21:13:04 +01:00
2018-01-03 11:00:22 -05:00
2018-01-31 17:18:38 -08:00
2018-01-28 22:17:24 -05:00
2018-01-08 08:22:45 -06:00
2018-01-17 15:25:50 +01:00
2018-01-25 08:48:20 -06:00
2018-01-08 08:22:45 -06:00
2018-01-31 17:18:40 -08:00
2018-01-31 17:18:37 -08:00
2018-02-01 11:40:07 -06:00
2018-01-19 16:50:53 -08:00
2018-02-06 16:41:28 -05:00
2018-01-29 12:02:54 -05:00
2018-01-18 11:56:49 +01:00
2018-01-15 12:07:46 -08:00
2018-01-15 09:35:45 +01:00
2018-02-06 18:32:47 -08:00
2018-01-09 16:27:43 +01:00
2018-02-06 18:32:44 -08:00
2017-12-20 09:53:54 -07:00