1
linux/drivers/hwmon
Sergey Senozhatsky 4258781ac7 hwmon: (coretemp) Initialize sysfs attributes
Initialize sysfs attrs before device_create_file() call to suppress lockdep_init_map()
warning:

[    3.653628] WARNING: at kernel/lockdep.c:2885 lockdep_init_map+0xea/0x43c()
[    3.653698] Modules linked in:
[    3.654835] Pid: 1, comm: swapper Not tainted 2.6.39-dbg-git8-05624-g46187f8 #576
[    3.656014] Call Trace:
[    3.657139]  [<ffffffff8103e4b4>] warn_slowpath_common+0x7e/0x96
[    3.658298]  [<ffffffff8103e4e1>] warn_slowpath_null+0x15/0x17
[    3.659460]  [<ffffffff8106d7b9>] lockdep_init_map+0xea/0x43c
[    3.660616]  [<ffffffff81163c1a>] sysfs_add_file_mode+0x5d/0xa8
[    3.661785]  [<ffffffff81163c71>] sysfs_add_file+0xc/0xe
[    3.662929]  [<ffffffff81163d26>] sysfs_create_file+0x23/0x25
[    3.664045]  [<ffffffff813724d1>] device_create_file+0x14/0x16
[    3.665172]  [<ffffffff81460ed4>] coretemp_probe+0xf9/0x185
[    3.666306]  [<ffffffff8137638e>] platform_drv_probe+0x12/0x14
[    3.667420]  [<ffffffff81375321>] driver_probe_device+0xb0/0x14b
[    3.668542]  [<ffffffff8137546d>] __device_attach+0x35/0x3a
[    3.669710]  [<ffffffff81375438>] ? __driver_attach+0x7c/0x7c
[    3.670816]  [<ffffffff8137426b>] bus_for_each_drv+0x54/0x88
[    3.671921]  [<ffffffff81375231>] device_attach+0x77/0x9b
[    3.673027]  [<ffffffff81374aef>] bus_probe_device+0x22/0x39
[    3.674137]  [<ffffffff81373235>] device_add+0x3c1/0x550
[    3.675249]  [<ffffffff81371ed9>] ? dev_set_name+0x3c/0x3e
[    3.676371]  [<ffffffff813769f3>] platform_device_add+0x10c/0x156
[    3.677491]  [<ffffffff8146af9c>] get_core_online+0xab/0x16e
[    3.678608]  [<ffffffff81ad8070>] coretemp_init+0x4b/0x80
[    3.679724]  [<ffffffff81ad8025>] ? hwmon_init+0xee/0xee
[    3.680853]  [<ffffffff8100020a>] do_one_initcall+0x7a/0x13c
[    3.681975]  [<ffffffff81aaac74>] kernel_init+0xe1/0x15b
[    3.683081]  [<ffffffff8147e4e4>] kernel_thread_helper+0x4/0x10
[    3.684174]  [<ffffffff8102d48c>] ? finish_task_switch+0x76/0xf0
[    3.685266]  [<ffffffff81477918>] ? retint_restore_args+0x13/0x13
[    3.686356]  [<ffffffff81aaab93>] ? start_kernel+0x3ee/0x3ee
[    3.687425]  [<ffffffff8147e4e0>] ? gs_change+0x13/0x13
[    3.688489] ---[ end trace 7392ad3e6a92ae39 ]---

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2011-05-27 02:24:53 -07:00
..
abituguru3.c hwmon: (abituguru) Depend on DMI 2011-05-25 20:43:33 +02:00
abituguru.c hwmon: (abituguru) Depend on DMI 2011-05-25 20:43:33 +02:00
acpi_power_meter.c Move ACPI power meter driver to hwmon 2011-05-25 20:43:32 +02:00
ad7414.c hwmon: (ad7414) add MODULE_DEVICE_TABLE 2011-02-26 08:59:32 -08:00
ad7418.c
adcxx.c hwmon: Use helper functions to set and get driver data 2011-05-25 20:43:31 +02:00
adm1021.c
adm1025.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
adm1026.c Fix common misspellings 2011-03-31 11:26:23 -03:00
adm1029.c
adm1031.c hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval 2010-09-17 17:24:14 +02:00
adm1275.c hwmon: (pmbus) Add support for Analog Devices ADM1275 2011-05-19 08:19:41 -07:00
adm9240.c hwmon: (adm9240) Implement the standard intrusion detection interface 2011-01-12 21:55:09 +01:00
ads1015.c hwmon: (ads1015) Make gain and datarate configurable 2011-03-21 17:59:37 +01:00
ads7828.c hwmon: (ads7828) Update email contact details 2011-01-12 21:55:08 +01:00
ads7871.c hwmon: (ads7871) Fix ads7871_probe error paths 2010-08-25 15:42:10 +02:00
adt7411.c hwmon: (adt7411) add MODULE_DEVICE_TABLE 2011-02-26 08:59:32 -08:00
adt7462.c
adt7470.c hwmon: (adt7470) Use pr_fmt and pr_<level> 2011-01-08 10:55:02 -08:00
adt7475.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
amc6821.c hwmon: Change mail address of Hans J. Koch 2010-11-15 21:38:56 +01:00
applesmc.c hwmon: (applesmc) Properly initialize lockdep attributes 2011-01-23 09:28:50 -08:00
asb100.c hwmon: (asb1000) Use pr_fmt and pr_<level> 2011-01-08 10:55:03 -08:00
asc7621.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
asus_atk0110.c hwmon: (asus_atk0110) Override interface detection on Sabertooth X58 2011-01-23 09:30:08 -08:00
atxp1.c
coretemp.c hwmon: (coretemp) Initialize sysfs attributes 2011-05-27 02:24:53 -07:00
dme1737.c hwmon: (dme1737) Minor cleanups 2011-01-12 21:55:13 +01:00
ds620.c hwmon: Support for Dallas Semiconductor DS620 2011-01-09 09:10:10 -08:00
ds1621.c
emc6w201.c hwmon: New driver for the SMSC EMC6W201 2011-05-25 20:43:33 +02:00
emc1403.c hwmon: (emc1403) Fix I2C address range 2011-02-09 13:45:52 -08:00
emc2103.c hwmon: Add driver for SMSC EMC2103 temperature monitor and fan controller 2010-08-14 21:08:54 +02:00
f71805f.c hwmon: (f71805f) Use pr_fmt and pr_<level> 2011-01-08 10:55:07 -08:00
f71882fg.c hwmon: (f71882fg) Add support for F71808A 2011-05-25 20:43:32 +02:00
f75375s.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
fam15h_power.c hwmon: Add driver for AMD family 15h processor power information 2011-05-25 20:43:31 +02:00
fschmd.c hwmon: (fschmd) Drop useless mutex 2011-01-12 21:55:11 +01:00
g760a.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
gl518sm.c
gl520sm.c
gpio-fan.c drivers: Final irq namespace conversion 2011-03-29 14:48:19 +02:00
hwmon-vid.c hwmon: (hwmon-vid) Use pr_fmt and pr_<level> 2011-01-08 10:55:10 -08:00
hwmon.c hwmon: (core) Use pr_fmt and pr_<level> 2011-01-08 10:55:11 -08:00
i5k_amb.c hwmon: (i5k_amb) Fix compile warning 2010-11-22 12:23:39 -08:00
ibmaem.c hwmon: Use helper functions to set and get driver data 2011-05-25 20:43:31 +02:00
ibmpex.c
it87.c hwmon: (it87) Use request_muxed_region 2011-05-25 20:43:33 +02:00
jc42.c hwmon: (jc42) Change detection class 2011-05-25 20:43:32 +02:00
jz4740-hwmon.c jz4740: silence warnings related to mfd_get_cell changes 2011-03-23 10:42:02 +01:00
k8temp.c hwmon: Use helper functions to set and get driver data 2011-05-25 20:43:31 +02:00
k10temp.c hwmon: (k10temp) Add support for Fam15h (Bulldozer) 2011-05-25 20:43:31 +02:00
Kconfig hwmon: New driver for the SMSC EMC6W201 2011-05-25 20:43:33 +02:00
lineage-pem.c hwmon: (lineage-pem): Fix in1 voltage alarm sysfs attributes 2011-03-16 06:57:34 -07:00
lm63.c hwmon: (lm63) Consider LM64 temperature offset 2011-02-09 13:45:42 -08:00
lm70.c hwmon: Use helper functions to set and get driver data 2011-05-25 20:43:31 +02:00
lm73.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
lm75.c hwmon: (lm75) Speed up detection 2011-03-21 17:59:36 +01:00
lm75.h hwmon: (lm75) Add suspend/resume feature 2010-08-14 21:08:50 +02:00
lm77.c
lm78.c hwmon: (lm78) Use pr_fmt and pr_<level> 2011-01-12 21:55:10 +01:00
lm80.c
lm83.c
lm85.c hwmon: (lm85) Fix error paths in probe function 2011-04-29 16:33:36 +02:00
lm87.c
lm90.c hwmon: (lm90) Add support for ADT7461A and NCT1008 2011-04-29 16:33:35 +02:00
lm92.c
lm93.c hwmon: (lm93) Add support for LM94 2011-01-18 12:22:54 -08:00
lm95241.c hwmon: (lm95241) Rewrite to avoid using macros 2011-01-08 10:55:47 -08:00
ltc4151.c hwmon: Add support for LTC4151 2011-03-14 22:39:11 -07:00
ltc4215.c hwmon: (ltc4215) make sysfs file match the alarm cause 2010-12-13 09:54:50 -08:00
ltc4245.c hwmon: (ltc4245) Expose all GPIO pins as analog voltages 2010-08-14 21:08:49 +02:00
ltc4261.c hwmon: (ltc4261) Fix error message format 2010-11-05 10:17:19 -07:00
Makefile hwmon: New driver for the SMSC EMC6W201 2011-05-25 20:43:33 +02:00
max1111.c
max1619.c
max6639.c hwmon: (max6639) Set reasonable default PWM frequency 2011-03-14 22:36:25 -07:00
max6642.c hwmon: Add support for MAX6642 2011-05-19 08:19:32 -07:00
max6650.c hwmon: (max6650) Properly support the MAX6650 2011-05-25 20:43:32 +02:00
max8688.c hwmon: (pmbus) Expand scope of device specific get_status function 2011-05-19 08:19:38 -07:00
max16064.c hwmon: (pmbus) Add support for Maxim MAX16064 2011-03-14 22:39:07 -07:00
max16065.c hwmon: Driver for MAX16065 System Manager and compatibles 2011-05-19 08:19:36 -07:00
max34440.c hwmon: (pmbus) Expand scope of device specific get_status function 2011-05-19 08:19:38 -07:00
mc13783-adc.c hwmon: Don't access struct mc13783 directly from mc13783-adc 2010-08-12 11:28:03 +02:00
pc87360.c hwmon: (pc87360) Use pr_fmt and pr_<level> 2011-01-12 21:55:11 +01:00
pc87427.c hwmon: (pc87427) Use pr_fmt and pr_<level> 2011-01-12 21:55:11 +01:00
pcf8591.c hwmon: (pcf8591) Use pr_fmt and pr_<level> 2011-01-08 10:55:16 -08:00
pmbus_core.c hwmon: (pmbus) Use device specific function to read fan configuration 2011-05-19 08:19:39 -07:00
pmbus.c hwmon: PMBus device driver 2011-03-14 22:36:26 -07:00
pmbus.h hwmon: (pmbus) Expand scope of device specific get_status function 2011-05-19 08:19:38 -07:00
s3c-hwmon.c hwmon: (s3c-hwmon) Fix compilation 2011-01-02 15:31:11 -08:00
sch5627.c hwmon: (sch5627) Trigger Vbat measurements 2011-05-25 20:43:33 +02:00
sht15.c hwmon: (sht15) add support for CRC validation 2011-05-19 08:19:36 -07:00
sht21.c hwmon: driver for Sensirion SHT21 humidity and temperature sensor 2011-01-08 10:56:28 -08:00
sis5595.c hwmon: (sis5595) Use pr_fmt and pr_<level> 2011-01-08 10:55:18 -08:00
smm665.c hwmon: driver for SMM665 Six-Channel Active DC Output Controller/Monitor 2010-08-09 20:45:10 -07:00
smsc47b397.c hwmon: (smsc47b397) Use pr_fmt and pr_<level> 2011-01-08 10:55:19 -08:00
smsc47m1.c hwmon: (smsc47m1) Use pr_fmt and pr_<level> 2011-01-08 10:55:27 -08:00
smsc47m192.c
thmc50.c
tmp102.c Fix common misspellings 2011-03-31 11:26:23 -03:00
tmp401.c hwmon: (tmp401) Reorganize code to get rid of static forward declarations 2010-05-27 19:58:49 +02:00
tmp421.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
twl4030-madc-hwmon.c hwmon: (twl4030-madc-hwmon) Return proper error if hwmon_device_register fails 2011-05-01 09:06:35 -07:00
ucd9000.c hwmon: (pmbus) Support for TI UCD90xxx series Sequencer and System Health Controllers 2011-05-19 08:19:40 -07:00
ucd9200.c hwmon: (pmbus) Add support for TI UCD9200 series of PWM System Controllers 2011-05-19 08:19:39 -07:00
ultra45_env.c hwmon: Use helper functions to set and get driver data 2011-05-25 20:43:31 +02:00
via686a.c hwmon: (via686a) Initialize fan_div values 2011-01-12 21:55:09 +01:00
via-cputemp.c hwmon: (via-cputemp) sync hotplug handling with coretemp/pkgtemp 2011-01-08 10:55:48 -08:00
vt1211.c hwmon: (vt1211) Use pr_fmt and pr_<level> 2011-01-08 10:55:30 -08:00
vt8231.c hwmon: (vt8231) Use pr_fmt and pr_<level> 2011-01-08 10:55:31 -08:00
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: (w83627ehf) Display correct temperature sensor labels for systems with NCT6775F 2011-03-14 22:39:20 -07:00
w83627hf.c hwmon: (w83627hf) Use pr_fmt and pr_<level> 2011-01-08 10:55:33 -08:00
w83781d.c hwmon: (w83781d) Use pr_fmt and pr_<level> 2011-01-12 21:55:11 +01:00
w83791d.c Fix common misspellings 2011-03-31 11:26:23 -03:00
w83792d.c Fix common misspellings 2011-03-31 11:26:23 -03:00
w83793.c Fix common misspellings 2011-03-31 11:26:23 -03:00
w83795.c hwmon: (w83795) Silent false warning from gcc 2011-01-12 21:55:09 +01:00
wm831x-hwmon.c
wm8350-hwmon.c