08 Feb, 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.Cc: Arnd Bergmann
Cc: Greg Kroah-Hartman
Signed-off-by: Paul Gortmaker
Signed-off-by: Greg Kroah-Hartman
05 Dec, 2013
1 commit
-
- pass IRQ to driver and have it initialize
- finish waiting early if interrupt firesSigned-off-by: NeilBrown
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
Signed-off-by: Greg Kroah-Hartman
26 Sep, 2013
1 commit
-
bmp085_get_of_properties() is called by bmp085_init_client() which is
called by bmp085_probe() which is an EXPORT_SYMBOL_GPL function.bmp085_probe() is really used as a probe function by another modules
(e.g. bmp085-i2c.c, bmp085-spi.c).Except bmp085_get_of_properties(), all functions have no '__init', so
need remove '__init' from bmp085_get_of_properties() too, or at least,
it will report related warning:WARNING: vmlinux.o(.text+0x4c8a07): Section mismatch in reference from the variable .LM171 to the variable .init.text:_bmp085_get_of_properties
The function .LM171() references
the variable __init _bmp085_get_of_properties.
This is often because .LM171 lacks a __init
annotation or the annotation of _bmp085_get_of_properties is wrong.Signed-off-by: Chen Gang
Signed-off-by: Greg Kroah-Hartman
22 Nov, 2012
1 commit
-
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
19 Apr, 2012
3 commits
-
The bmp18x chip family comes in an I2C respectively SPI variant.
Hence, the bmp085 driver was split to support both buses.Tested-by: Zhengguang Guo
Reviewed-by: Stefan Nilsson
Signed-off-by: Eric Andersson
Reviewed-by: Mark Brown
Reviewed-by: Arnd Bergmann
Signed-off-by: Greg Kroah-Hartman -
Reviewed-by: Stefan Nilsson
Signed-off-by: Eric Andersson
Reviewed-by: Arnd Bergmann
Signed-off-by: Greg Kroah-Hartman -
This patch includes various cleaning of the bmp085 driver including:
- Whitespaces and alignment fixes
- Minor typos
- Consistency fixesReviewed-by: Stefan Nilsson
Signed-off-by: Eric Andersson
Reviewed-by: Arnd Bergmann
Signed-off-by: Greg Kroah-Hartman
03 Mar, 2012
1 commit
-
This fixes following compilation warning:
drivers/misc/bmp085.c: In function ‘bmp085_get_pressure’:
drivers/misc/bmp085.c:238:4: warning: comparison of distinct pointer
types lacks a cast [enabled by default]Signed-off-by: Bernhard Walle
Signed-off-by: Greg Kroah-Hartman
25 Feb, 2012
1 commit
-
By using the time_is_before_jiffies() macro instead of normal
arithmetic, the jiffies overflow is handled correctly.Signed-off-by: Bernhard Walle
Acked-by: Arnd Bergmann
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
05 Jan, 2012
1 commit
-
Just a single ";" will do nicely.
Signed-off-by: Jesper Juhl
Signed-off-by: Greg Kroah-Hartman
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
23 Mar, 2011
1 commit
-
Free the memory that is used only at init
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
05 Mar, 2011
1 commit
-
The device table is required to load modules based on modaliases.
Signed-off-by: Axel Lin
Cc: Shubhrajyoti D
Cc: Christoph Mair
Cc: Jonathan Cameron
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
10 Aug, 2010
1 commit
-
This driver adds support for the BMP085 digital pressure sensor from Bosch
Sensortec. It exposes a sysfs api to userspace where pressure and
temperature measurement results can be read from the pressure0_input and
temp0_input file. The chip is able to calculate the average of up to
eight samples to increase the accuracy. This feature can be controlled by
writing to the oversampling file.The BMP085 digital pressure sensor can measure ambient air pressure and
temperature. Both values can be obtained from sysfs files. The pressure
is measured by reading from pressure0_input. Valid values range from
30000 to 110000 pascal with a resolution of 1 pascal (=0.01 millibar).temp0_input holds the current temperature in degree celsius, multiplied by
10. This results in a resolution of a tenth degree celsius. Values range
from -400 to 850.To increase the accuracy, this chip can calculate the average of 1, 2, 4
or 8 samples. This behavior is controlled through the oversampling sysfs
file. Two to the power of the value written to that file specifies how
many samples will be used. Valid values: 0..3.[akpm@linux-foundation.org: fix typo]
[shubhrajyoti@ti.com: optimize the wait time for the pressure sensor, definition of long is arch dependent so make it u32]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Christoph Mair
Signed-off-by: Shubhrajyoti D
Acked-by: Jonathan Cameron
Cc: Stefan Schmidt
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds