linux-xiaomi-chiron/include/linux/regulator
Paul Gortmaker 313162d0b8 device.h: audit and cleanup users in main include dir
The <linux/device.h> header includes a lot of stuff, and
it in turn gets a lot of use just for the basic "struct device"
which appears so often.

Clean up the users as follows:

1) For those headers only needing "struct device" as a pointer
in fcn args, replace the include with exactly that.

2) For headers not really using anything from device.h, simply
delete the include altogether.

3) For headers relying on getting device.h implicitly before
being included themselves, now explicitly include device.h

4) For files in which doing #1 or #2 uncovers an implicit
dependency on some other header, fix by explicitly adding
the required header(s).

Any C files that were implicitly relying on device.h to be
present have already been dealt with in advance.

Total removals from #1 and #2: 51.  Total additions coming
from #3: 9.  Total other implicit dependencies from #4: 7.

As of 3.3-rc1, there were 110, so a net removal of 42 gives
about a 38% reduction in device.h presence in include/*

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2012-03-16 10:38:24 -04:00
..
ab8500.h regulator: initialization for ab8500 regulators 2011-03-26 14:15:05 +00:00
bq24022.h regulator: Allow init data to be supplied for bq24022 2009-03-31 09:56:21 +01:00
consumer.h device.h: audit and cleanup users in main include dir 2012-03-16 10:38:24 -04:00
db8500-prcmu.h mach-ux500: voltage domain regulators for DB8500 2011-05-24 22:20:23 +02:00
driver.h regulator: map consumer regulator based on device tree 2011-11-23 18:47:31 +00:00
fixed.h regulator: Add 'start-up time' to fixed voltage regulators 2010-03-03 14:49:23 +00:00
gpio-regulator.h regulator: Add driver for gpio-controlled regulators 2011-10-09 12:36:21 +01:00
lp3971.h LP3971 PMIC regulator driver (updated and combined version) 2009-06-15 11:18:26 +01:00
lp3972.h Regulator: LP3972 PMIC regulator driver 2010-10-28 22:40:31 +01:00
machine.h regulator: Constify constraints name 2011-10-14 20:59:30 +01:00
max1586.h regulator: fix typos 2009-09-22 13:32:44 +01:00
max8649.h regulator: enable max8649 regulator driver 2010-03-03 14:49:24 +00:00
max8660.h regulator: add driver for MAX8660/8661 2009-12-17 10:27:22 +00:00
max8952.h MAX8952 PMIC Driver Initial Release 2010-10-28 22:40:31 +01:00
of_regulator.h regulator: pass device_node to of_get_regulator_init_data() 2011-12-05 19:10:17 +00:00
tps6507x.h regulator: tps6507x: allow driver to use DEFDCDC{2,3}_HIGH register 2010-07-28 15:09:26 +01:00
userspace-consumer.h regulator: add userspace-consumer driver 2009-06-15 11:18:22 +01:00