aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrew F. Davis <[email protected]>2017-07-19 12:04:07 -0500
committerSebastian Reichel <[email protected]>2017-07-25 15:31:21 +0200
commit67bd22c09ac1b54b5f42445783d2dc8e011f7a71 (patch)
treebc62f6f2bbd31546c88fe7ed22feea3659767574 /tools/perf/scripts/python/export-to-postgresql.py
parentc8143b72888c551bc4119f52d818343945f969d4 (diff)
power: supply: bq27xxx: move platform driver code into bq27xxx_battery_hdq.c
When the BQ27xxx driver was originally written the w1 subsystem only allowed device drivers for w1 attached devices to live in the w1 subsystem. Kernel driver subsystems expect that the driver for a device live in the directory of the subsystem for which it implements functionality, not in the directory of the bus that it is attached. To work around this, the BQ27xxx driver was implemented as a platform device driver and the interface driver would instantiate this device from within the w1 directory, then pass a w1 read callback as platform data. As we can now have the w1 interface driver in the power/supply directory (like we do already with the i2c interface driver) we can remove this middle-layer platform driver. Signed-off-by: Andrew F. Davis <[email protected]> Acked-by: Pali Rohár <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions