18 Jul, 2017
2 commits
-
The driver doesn't have a struct of_device_id table but supported devices
are registered via Device Trees. This is working on the assumption that a
I2C device registered via OF will always match a legacy I2C device ID and
that the MODALIAS reported will always be of the form i2c:.But this could change in the future so the correct approach is to have a
OF device ID table if the devices are registered via OF.Signed-off-by: Javier Martinez Canillas
Acked-by: Rob Herring
Acked-by: Aaro Koskinen
Acked-by: Tony Lindgren
Reviewed-by: Wolfram Sang
Signed-off-by: Lee Jones -
It's not correct to encode the subsystem in the I2C device name, so
drop the -mfd suffix. To maintain bisect-ability, change driver and
platform code / DTS users in the same patch.Suggested-by: Lee Jones
Signed-off-by: Javier Martinez Canillas
Acked-by: Rob Herring
Acked-by: Aaro Koskinen
Acked-by: Tony Lindgren
Reviewed-by: Wolfram Sang
Signed-off-by: Lee Jones
11 Aug, 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: Lee Jones
22 Jan, 2015
1 commit
-
The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const.Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Lee Jones
19 Mar, 2014
1 commit
-
None of these files are actually using any __init type directives
and hence don't need to include . Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.Signed-off-by: Paul Gortmaker
Signed-off-by: Lee Jones
06 Jan, 2014
1 commit
-
As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("mfd: Stop setting
refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
mfd_add_devices() is "const" again. Hence make all cell data passed to
mfd_add_devices() const where possible.Signed-off-by: Geert Uytterhoeven
Signed-off-by: Lee Jones
19 Apr, 2013
1 commit
-
Tahvo is a multi-function device on Nokia 770, implementing USB
transceiver and charge/battery control.It's so close to Retu that a single driver can support both.
Signed-off-by: Aaro Koskinen
Signed-off-by: Samuel Ortiz
04 Jan, 2013
1 commit
-
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.Cc: Bill Pemberton
Cc: Samuel Ortiz
Signed-off-by: Greg Kroah-Hartman
21 Nov, 2012
1 commit
-
Retu is a multi-function device found on Nokia Internet Tablets
implementing at least watchdog, RTC, headset detection and power button
functionality.This patch implements minimum functionality providing register access,
IRQ handling and power off functions.Acked-by: Felipe Balbi
Acked-by: Tony Lindgren
Signed-off-by: Aaro Koskinen
Signed-off-by: Samuel Ortiz