20 Aug, 2020
1 commit
-
There are multiple drivers using the private adc interface.
It seems unlikely that they would ever get converted to iio,
so make the current state official by making the header file
global.The s3c2410_ts driver needs a couple of register definitions
as well.Signed-off-by: Arnd Bergmann
Acked-by: Guenter Roeck
Acked-by: Dmitry Torokhov
Acked-by: Sebastian Reichel
Link: https://lore.kernel.org/r/20200806182059.2431-22-krzk@kernel.org
Signed-off-by: Krzysztof Kozlowski
05 Jun, 2019
1 commit
-
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation this program is
distributed in the hope that it will be useful but without any
warranty without even the implied warranty of merchantability or
fitness for a particular purpose see the gnu general public license
for more details you should have received a copy of the gnu general
public license along with this program if not write to the free
software foundation inc 59 temple place suite 330 boston ma 02111
1307 usaextracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 136 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Alexios Zavras
Reviewed-by: Allison Randal
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190530000436.384967451@linutronix.de
Signed-off-by: Greg Kroah-Hartman
23 Apr, 2019
1 commit
-
Using dev_get_drvdata directly.
Cc: Jean Delvare
Cc: Guenter Roeck
Signed-off-by: Kefeng Wang
Signed-off-by: Guenter Roeck
20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
22 May, 2014
1 commit
-
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.Signed-off-by: Jingoo Han
Acked-by: Jean Delvare
Signed-off-by: Guenter Roeck
12 Aug, 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: Guenter Roeck
08 Apr, 2013
1 commit
-
Fix:
ERROR: Macros with complex values should be enclosed in parenthesis
when it is seen due to complex code and not due to multi-line variable
declarations.Cc: Hans de Goede
Cc: Alistair John Strachan
Acked-by: Alistair John Strachan
Signed-off-by: Guenter Roeck
29 Nov, 2012
3 commits
-
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.Signed-off-by: Bill Pemberton
Cc: Hans de Goede
Cc: Jean Delvare
Cc: Alistair John Strachan
Cc: Fenghua Yu
Cc: Juerg Haefliger
Cc: Andreas Herrmann
Cc: Clemens Ladisch
Cc: Rudolf Marek
Cc: Jim Cromie
Cc: "Mark M. Hoffman"
Cc: Roger Lucas
Acked-by: Guenter Roeck
Acked-by: Mark Brown
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: Hans de Goede
Cc: Jean Delvare
Cc: Alistair John Strachan
Cc: Fenghua Yu
Cc: Juerg Haefliger
Cc: Andreas Herrmann
Cc: Clemens Ladisch
Cc: Rudolf Marek
Cc: Jim Cromie
Cc: "Mark M. Hoffman"
Cc: Roger Lucas
Acked-by: Guenter Roeck
Acked-by: Mark Brown
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: Hans de Goede
Cc: Jean Delvare
Cc: Alistair John Strachan
Cc: Fenghua Yu
Cc: Juerg Haefliger
Cc: Andreas Herrmann
Cc: Clemens Ladisch
Cc: Rudolf Marek
Cc: Jim Cromie
Cc: "Mark M. Hoffman"
Cc: Roger Lucas
Acked-by: Guenter Roeck
Acked-by: Mark Brown
Signed-off-by: Greg Kroah-Hartman
10 Oct, 2012
1 commit
-
These drivers use no sleep or delay functions so they don't need to
include .Signed-off-by: Jean Delvare
Acked-by: Guenter Roeck
Cc: Rudolf Marek
19 Sep, 2012
1 commit
-
Platform data for device drivers should be defined in
include/linux/platform_data/*.h, not in the architecture
and platform specific directories.This moves such data out of the samsung include directories
Signed-off-by: Arnd Bergmann
Acked-by: Mark Brown
Acked-by: Greg Kroah-Hartman
Acked-by: Nicolas Pitre
Acked-by: Mauro Carvalho Chehab
Cc: Kukjin Kim
Cc: Kyungmin Park
Cc: Ben Dooks
Cc: Jeff Garzik
Cc: Guenter Roeck
Cc: "Wolfram Sang (embedded platforms)"
Cc: Dmitry Torokhov
Cc: Bryan Wu
Cc: Richard Purdie
Cc: Sylwester Nawrocki
Cc: Chris Ball
Cc: David Woodhouse
Cc: Grant Likely
Cc: Felipe Balbi
Cc: Alan Stern
Cc: Sangbeom Kim
Cc: Liam Girdwood
Cc: linux-samsung-soc@vger.kernel.org
22 Jul, 2012
1 commit
-
This makes the code simpler as explicit freeing is not needed.
Signed-off-by: Sachin Kamat
Signed-off-by: Guenter Roeck
27 Nov, 2011
1 commit
-
This patch converts the drivers in drivers/hwmon/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.Cc: Donggeun Kim
Cc: Simon Guinot
Cc: Lars-Peter Clausen
Cc: MyungJoo Ham
Cc: Ben Dooks
Cc: Hans de Goede
Cc: J Keerthy
Cc: David S. Miller
Cc: Mark Brown
Signed-off-by: Axel Lin
Acked-by: Mark Brown
Signed-off-by: Guenter Roeck
18 Jun, 2011
1 commit
-
Initialize dynamically allocated sysfs attributes before device_create_file()
call to suppress lockdep_init_map() warning if lockdep debugging is enabled.Signed-off-by: Guenter Roeck
Acked-by: Jean Delvare
Cc: stable@kernel.org # 2.6.34+
03 Jan, 2011
1 commit
-
The owner field was removed from struct attribute in
6fd69dc578fa0b1bbc3aad70ae3af9a137211707, so don't assign it anymore.Signed-off-by: Maurus Cuelenaere
Signed-off-by: Guenter Roeck
29 Oct, 2010
1 commit
-
The semaphore which protects the ADC is semantically a mutex. Use a
real mutex.Signed-off-by: Thomas Gleixner
Cc: Ben Dooks
Signed-off-by: Jean Delvare
10 Dec, 2009
1 commit
-
The previous patch, commit be4c23c93c4828d36ac9e1a88410618a61676426 was
from the wrong tree and thus broke the current build which had the
channel configuration name changed.Fix the following build errors:
drivers/hwmon/s3c-hwmon.c: In function 's3c_hwmon_probe':
drivers/hwmon/s3c-hwmon.c:326: warning: initialization from incompatible pointer type
drivers/hwmon/s3c-hwmon.c:331: error: dereferencing pointer to incomplete type
drivers/hwmon/s3c-hwmon.c:336: error: dereferencing pointer to incomplete typeSigned-off-by: Ben Dooks
Signed-off-by: Jean Delvare
16 Nov, 2009
1 commit
-
Avoid registering channels that have zero divider settings in them, as this
will only lead to kernel OOPS from divide-by-zero when the sysfs entry is
read.Signed-off-by: Ben Dooks
Signed-off-by: Jean Delvare
18 Jul, 2009
1 commit
-
Add support for the ADC controller on the S3C series of processors to
drivers/hwmon for use with hardware monitoring systems.Signed-off-by: Ben Dooks
Acked-by: Jean Delvare
Signed-off-by: Ben Dooks