28 Jan, 2019
2 commits
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
This driver is using devm_regulator_register, so it's not necessary to
store *rdev[3] in struct isl_pmic. Use a local variable instead.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
15 Jul, 2015
1 commit
-
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Mark Brown
17 Sep, 2013
1 commit
-
devm_* simplifies the code.
Signed-off-by: Sachin Kamat
Acked-by: Marek Vasut
Signed-off-by: Mark Brown
30 Jul, 2013
1 commit
-
Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly.Signed-off-by: Jingoo Han
Signed-off-by: Mark Brown
12 May, 2013
1 commit
-
init_data is a pointer. Use NULL instead of 0.
Silences the following sparse warning:
drivers/regulator/isl6271a-regulator.c:133:44:
warning: Using plain integer as NULL pointerSigned-off-by: Sachin Kamat
Signed-off-by: Mark Brown
20 Nov, 2012
3 commits
-
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.Signed-off-by: Bill Pemberton
Signed-off-by: Mark Brown -
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.Signed-off-by: Bill Pemberton
Signed-off-by: Mark Brown -
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.Signed-off-by: Bill Pemberton
Signed-off-by: Mark Brown
29 Aug, 2012
1 commit
-
This is not required after commit f7df20ec
"regulator: core: Use list_voltage() to read single voltage regulators"Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
11 Jun, 2012
1 commit
-
isl_fixed_ops does not implement set_voltage_sel callback, adding map_voltage
here is misleading.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
08 Jun, 2012
1 commit
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
16 May, 2012
3 commits
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
23 Apr, 2012
1 commit
-
All the drivers that need delay for the regulator voltage output voltage to
stabilize after being enabled or after being set to a new value has been
converted to implement enable_time and set_voltage_time_sel callbacks.
Then regulator core will take care of the necessary delay.For the drivers that don't need the delay, don't need to include linux/delay.h.
This patch removes the unneeded include of linux/delay.h in regulator drivers.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
13 Apr, 2012
1 commit
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
09 Apr, 2012
2 commits
-
Rather than adding new arguments to regulator_register() every time we
want to add a new bit of dynamic information at runtime change the function
to take these via a struct. By doing this we avoid needing to do further
changes like the recent addition of device tree support which required each
regulator driver to be updated to take an additional parameter.The regulator_desc which should (mostly) be static data is still passed
separately as most drivers are able to configure this statically at build
time.Signed-off-by: Mark Brown
05 Apr, 2012
1 commit
-
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
04 Apr, 2012
1 commit
-
The regulator core supports this to allow the configuration to be inspected
at runtime even if no software mangement is enabled.Signed-off-by: Mark Brown
Acked-by: Marek Vasut
12 Mar, 2012
1 commit
-
Signed-off-by: Axel Lin
Acked-by: Marek Vasut
Signed-off-by: Mark Brown
24 Nov, 2011
1 commit
-
With device tree support for regulators, its needed that the
regulator_dev->dev device has the right of_node attached.
To be able to do this add an additional parameter to the
regulator_register() api, wherein the dt-adapted driver can
then pass this additional info onto the regulator core.Signed-off-by: Rajendra Nayak
Signed-off-by: Mark Brown
12 Jan, 2011
2 commits
-
The index is missing so the return is wrong.
Signed-off-by: Roel Kluin
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood -
Change the interface used by set_voltage() to report the selected value
to the regulator core in terms of a selector used by list_voltage().
This allows the regulator core to know the voltage that was chosen
without having to do an explict get_voltage(), which would be much more
expensive as it will generally access hardware.Signed-off-by: Mark Brown
Signed-off-by: Liam Girdwood
30 Sep, 2010
1 commit
-
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit. This is obsolete meanwhile, so fix it and hope the word will spread.Signed-off-by: Wolfram Sang
Acked-by: Mark Brown
Signed-off-by: Jean Delvare
01 Sep, 2010
1 commit
-
Signed-off-by: Axel Lin
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood
11 Aug, 2010
1 commit
-
This device is very simple, it supports one buck and two LDOs. The LDOs are
fixed-voltage. Only the buck is programable over the I2C bus to 16 possible
voltages.Signed-off-by: Marek Vasut
Acked-by: Mark Brown
Signed-off-by: Liam Girdwood