android_kernel_xiaomi_sm8350/drivers/hwmon
Sam Ravnborg ba7c1927aa hwmon: (coretemp) fix section mismatch warning
Fix following warning:
WARNING: vmlinux.o(.text+0xebfd04): Section mismatch in reference from the function coretemp_cpu_callback() to the function .cpuinit.text:coretemp_device_add()

coretemp_cpu_callback() are only used inside a
HOTPLUG_CPU block so annotate it __cpuinit.
The notifier referencing the function are annotated
__refdata to silence warning from the exit function.
The unregister function do not use the embedded pointer
but clears the variable so the annotation is OK.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
2008-02-17 11:26:55 -05:00
..
ams
abituguru3.c hwmon: (abituguru3) Add AUX4 fan input for Abit IP35 Pro 2008-02-07 20:39:44 -05:00
abituguru.c
ad7418.c
adm1021.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
adm1025.c hwmon: VRM is not written to registers 2008-02-07 20:39:44 -05:00
adm1026.c hwmon: (adm1026) Properly terminate sysfs groups 2008-02-17 09:27:19 -05:00
adm1029.c
adm1031.c hwmon: (adm1031) Add individual alarm and fault files 2008-02-07 20:39:43 -05:00
adm9240.c hwmon: (adm9240) Add individual alarm files 2008-02-07 20:39:44 -05:00
ads7828.c hwmon: Add support for Texas Instruments/Burr-Brown ADS7828 2008-02-07 20:39:44 -05:00
adt7470.c hwmon: (adt7470) Support per-sensor alarm files 2008-02-07 20:39:42 -05:00
applesmc.c leds: Standardise LED naming scheme 2008-02-07 09:47:00 +00:00
asb100.c hwmon: (asb100) Add individual alarm files 2008-02-07 20:39:44 -05:00
atxp1.c
coretemp.c hwmon: (coretemp) fix section mismatch warning 2008-02-17 11:26:55 -05:00
dme1737.c hwmon: (dme1737) fix Super-IO device ID override 2008-02-07 20:39:44 -05:00
ds1621.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
f71805f.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
f71882fg.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
f75375s.c hwmon: (f75375s) pwmX_mode sysfs files writable for f75375 variant 2007-11-08 08:42:47 -05:00
fscher.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
fschmd.c hwmon: (fschmd) Read voltage scaling factors from BIOS DMI 2008-02-07 20:39:42 -05:00
fscpos.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
gl518sm.c hwmon: (gl518sm) Fix the reported fan speed 2008-02-07 20:39:41 -05:00
gl520sm.c hwmon: (gl520sm) Add individual alarm and beep files 2008-02-07 20:39:42 -05:00
hdaps.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
hwmon-vid.c x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
hwmon.c
i5k_amb.c hwmon: (i5k_amb) Convert macros to C functions 2007-11-08 08:42:47 -05:00
ibmpex.c hwmon: (ibmpex) Change printk to dev_{info,err} macros 2007-11-08 08:42:46 -05:00
it87.c hwmon: (it87) Delete pwmN_freq files on driver removal 2008-02-07 20:39:43 -05:00
k8temp.c
Kconfig hwmon: Add support for Texas Instruments/Burr-Brown ADS7828 2008-02-07 20:39:44 -05:00
lm63.c
lm70.c hwmon: (lm70) Convert semaphore to mutex 2007-11-08 08:42:46 -05:00
lm75.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
lm75.h
lm77.c hwmon: (lm77) Add individual alarm files 2008-02-07 20:39:44 -05:00
lm78.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
lm80.c hwmon: (lm80) Add individual alarm files 2008-02-07 20:39:45 -05:00
lm83.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
lm85.c hwmon: VRM is not written to registers 2008-02-07 20:39:44 -05:00
lm87.c hwmon: VRM is not written to registers 2008-02-07 20:39:44 -05:00
lm90.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
lm92.c hwmon: (lm92) Add individual alarm files 2008-02-17 09:27:18 -05:00
lm93.c
Makefile hwmon: Add support for Texas Instruments/Burr-Brown ADS7828 2008-02-07 20:39:44 -05:00
max1619.c hwmon: (max1619) Add individual alarm and fault files 2008-02-17 09:27:18 -05:00
max6650.c
pc87360.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
pc87427.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
sis5595.c hwmon: (sis5595) Split sis5595_attributes_opt 2007-11-08 08:42:45 -05:00
smsc47b397.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
smsc47m1.c hwmon: (smsc47m1) Add individual alarm files 2008-02-17 09:27:18 -05:00
smsc47m192.c hwmon: VRM is not written to registers 2008-02-07 20:39:44 -05:00
thmc50.c
via686a.c hwmon: (via686a) Add individual alarm files 2008-02-17 09:27:18 -05:00
vt1211.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
vt8231.c hwmon: (vt8231) Update maintainer email address 2008-02-17 09:27:19 -05:00
w83l785ts.c hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
w83l786ng.c hwmon: Add support for Winbond W83L786NG/NR 2008-02-07 20:39:40 -05:00
w83627ehf.c hwmon: (w83627ehf) The W83627DHG has 8 VID pins 2008-02-07 20:39:45 -05:00
w83627hf.c hwmon: (w83627hf) Refactor beep enable handling 2008-02-07 20:39:45 -05:00
w83781d.c hwmon: (w83781d) Misc cleanups 2008-02-07 20:39:43 -05:00
w83791d.c hwmon: VRM is not written to registers 2008-02-07 20:39:44 -05:00
w83792d.c
w83793.c hwmon: VRM is not written to registers 2008-02-07 20:39:44 -05:00