summaryrefslogtreecommitdiffstats
path: root/Documentation/cgroups/resource_counter.txt
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-08-25 15:42:10 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 13:36:04 -0700
commitb3f69c04298fecbd5ca382679bac644433771dae (patch)
tree5d5a58506125df33a665d09ea49dab47181324fb /Documentation/cgroups/resource_counter.txt
parent1506707a6c740db316e422239a53ae5df1727591 (diff)
downloadkernel-crypto-b3f69c04298fecbd5ca382679bac644433771dae.tar.gz
kernel-crypto-b3f69c04298fecbd5ca382679bac644433771dae.tar.xz
kernel-crypto-b3f69c04298fecbd5ca382679bac644433771dae.zip
hwmon: (ads7871) Fix ads7871_probe error paths
commit c12c507d7185fe4e8ada7ed9832957576eefecf8 upstream. 1. remove 'status' variable 2. remove unneeded initialization of 'err' variable 3. return missing error code if sysfs_create_group fail. 4. fix the init sequence as: - check hardware existence - kzalloc for ads7871_data - sysfs_create_group - hwmon_device_register Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/cgroups/resource_counter.txt')
0 files changed, 0 insertions, 0 deletions