summaryrefslogtreecommitdiffstats
path: root/fs/afs
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-01-19 20:58:13 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:27:39 -0700
commite200c14f60765ee3be6517659ec8fea06e299e39 (patch)
treed877afb50cab0adc2b99f0fced55d7a038627257 /fs/afs
parent01d9def5bae959de5d420a2fc09fcc58106513fa (diff)
downloadblackbird-op-linux-e200c14f60765ee3be6517659ec8fea06e299e39.tar.gz
blackbird-op-linux-e200c14f60765ee3be6517659ec8fea06e299e39.zip
hwmon: (lm70) Register hwmon device after creating attribute files, and remove it first
Register hwmon device as last operation in the probe function to ensure that all attribute files exist when accessed from user applications. Otherwise, there is a short time frame where the device is registered as hwmon device but sysfs attributes do not yet exist. This could result in applications erroneously not detecting attributes. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud