05 Dec, 2014
1 commit
-
After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks
depending on CONFIG_PM_RUNTIME may now be changed to depend on
CONFIG_PM.Replace CONFIG_PM_RUNTIME with CONFIG_PM everywhere under
drivers/misc/.Signed-off-by: Rafael J. Wysocki
Acked-by: Greg Kroah-Hartman
07 Jun, 2013
1 commit
-
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.Signed-off-by: Jingoo Han
Reviewed-by: Andy Shevchenko
Signed-off-by: Greg Kroah-Hartman
29 Mar, 2013
1 commit
-
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
build warning when CONFIG_PM_SLEEP is not selected. This is because
sleep PM callbacks defined by SET_SYSTEM_SLEEP_PM_OPS are only used
when the CONFIG_PM_SLEEP is enabled.drivers/misc/apds990x.c:1205:12: warning: 'apds990x_suspend' defined but not used [-Wunused-function]
drivers/misc/apds990x.c:1214:12: warning: 'apds990x_resume' defined but not used [-Wunused-function]Signed-off-by: Jingoo Han
Signed-off-by: Greg Kroah-Hartman
16 Mar, 2013
1 commit
-
APDS_RANGE is 65535, chip->lux_calib is u16 (never more than APDS_RANGE).
Signed-off-by: Chen Gang
Signed-off-by: Greg Kroah-Hartman
22 Nov, 2012
3 commits
-
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.Signed-off-by: Bill Pemberton
Cc: "Michał Mirosław"
Cc: Wolfram Sang
Cc: Eric Piel
Cc: Jiri Slaby
Signed-off-by: Greg Kroah-Hartman -
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.Signed-off-by: Bill Pemberton
Cc: "Michał Mirosław"
Cc: Eric Piel
Cc: Jiri Slaby
Signed-off-by: Greg Kroah-Hartman -
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.Signed-off-by: Bill Pemberton
Cc: "Michał Mirosław"
Cc: Wolfram Sang
Cc: Eric Piel
Cc: Jiri Slaby
Signed-off-by: Greg Kroah-Hartman
25 Jan, 2012
1 commit
-
This patch converts the drivers in drivers/misc/* to use the
module_i2c_driver() macro which makes the code smaller and a bit
simpler.Signed-off-by: Axel Lin
Cc: Michael Hennerich
Cc: Anantha Narayanan
Cc: Hemanth V
Cc: Christoph Mair
Cc: Grant Likely
Cc: Ben Gardner
Cc: Minkyu Kang
Cc: Kalhan Trisal
Cc: Darrick J. Wong
Cc: Daniel Mack
Cc: Rodolfo Giometti
Acked-by: Arnd Bergmann
Signed-off-by: Greg Kroah-Hartman
16 Jun, 2011
1 commit
-
Fixes this warning:
drivers/misc/apds990x.c: At top level:
drivers/misc/apds990x.c:613: warning: `apds990x_chip_on' defined but not usedSigned-off-by: Geert Uytterhoeven
Cc: Samu Onkalo
Cc: Jonathan Cameron
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Oct, 2010
1 commit
-
This is a driver for Avago APDS990X combined ALS and proximity sensor.
Interface is sysfs based. The driver uses interrupts to provide new data.
The driver supports pm_runtime and regulator frameworks.See Documentation/misc-devices/apds990x.txt for details
Signed-off-by: Samu Onkalo
Acked-by: Jonathan Cameron
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds