Krzysztof Kozlowski
c75cfa9e27
power_supply: ab8500_fg: Simplify creation and removal of sysfs entries
...
Simplify a little ab8500_fg_sysfs_psy_create_attrs () and
ab8500_fg_sysfs_psy_remove_attrs() functions because they received
pointer to power supply device which was then converted into power
supply instance. Then it was converted into struct ab8500_fg. The path
looked like:
ab8500_fg->psy.dev -> psy -> ab8500_fg
Instead just pass pointer to struct ab8500_fg directly so all
conversions won't be necessary.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2015-02-25 22:26:32 +01:00
..
2014-09-25 09:57:23 -07:00
2015-01-25 22:13:18 +01:00
2014-10-20 16:21:27 +02:00
2015-01-28 15:08:10 +01:00
2013-04-16 17:38:10 -07:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2015-02-25 22:26:32 +01:00
2014-10-20 16:21:27 +02:00
2015-02-25 21:36:35 +01:00
2014-10-28 03:30:18 +01:00
2015-01-21 16:59:28 +01:00
2013-10-25 15:56:51 -07:00
2015-01-21 20:52:07 +01:00
2015-01-20 13:58:32 +01:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2015-02-25 21:18:14 +01:00
2013-03-31 23:25:47 -07:00
2013-03-31 23:25:45 -07:00
2012-11-28 11:43:22 -08:00
2014-11-17 03:07:11 +01:00
2014-10-20 16:21:27 +02:00
2013-03-31 23:39:40 -07:00
2015-01-20 13:58:31 +01:00
2014-10-20 16:21:27 +02:00
2015-02-25 22:18:18 +01:00
2014-01-25 15:24:15 +04:00
2014-10-20 16:21:27 +02:00
2015-02-25 21:18:14 +01:00
2013-06-06 17:19:54 -07:00
2015-02-25 22:18:18 +01:00
2015-02-25 21:15:59 +01:00
2015-02-25 21:38:22 +01:00
2014-10-20 16:21:27 +02:00
2014-09-25 01:37:13 +02:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2015-02-25 21:45:46 +01:00
2015-02-25 21:45:46 +01:00
2015-02-25 21:45:46 +01:00
2015-02-25 21:45:46 +01:00
2014-10-20 16:21:27 +02:00
2013-06-06 17:35:38 -07:00
2013-03-18 11:18:05 +02:00
2014-12-15 15:12:21 +01:00
2013-03-07 12:35:53 +08:00
2014-10-28 03:30:19 +01:00
2014-09-16 11:01:37 +02:00
2014-09-16 11:01:37 +02:00
2015-02-25 21:34:09 +01:00
2014-10-20 16:21:27 +02:00
2013-03-18 19:43:03 -07:00
2014-09-06 20:57:43 +02:00
2015-01-23 16:03:00 +01:00
2013-08-09 13:41:52 -07:00
2014-10-20 16:21:27 +02:00
2014-10-20 16:21:27 +02:00
2015-02-25 22:18:18 +01:00
2014-10-20 16:21:27 +02:00
2013-05-10 11:56:22 -07:00
2012-11-28 11:43:22 -08:00
2012-11-28 11:43:22 -08:00
2012-11-28 11:43:22 -08:00