aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/slaves
diff options
context:
space:
mode:
authorAnton Vorontsov <cbou@mail.ru>2007-07-14 21:18:25 -0400
committerAnton Vorontsov <cbou@mail.ru>2007-07-15 14:32:38 -0400
commit7b3d54a8c30d2c524889a05d0c1334813d516b93 (patch)
tree7bcbfadc8604f04bea356a8fc61f8069daf24b85 /drivers/w1/slaves
parent5ebf6e6a96e41220edec23a90e4140985d1a5732 (diff)
Power supply class and drivers: remove non obligatory return statements
Per Jeff Garzik request. Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Anton Vorontsov <cbou@mail.ru>
Diffstat (limited to 'drivers/w1/slaves')
-rw-r--r--drivers/w1/slaves/w1_ds2760.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/w1/slaves/w1_ds2760.c b/drivers/w1/slaves/w1_ds2760.c
index 88a37fbccc3f..15e7f9af3bc3 100644
--- a/drivers/w1/slaves/w1_ds2760.c
+++ b/drivers/w1/slaves/w1_ds2760.c
@@ -121,8 +121,6 @@ static void release_bat_id(int id)
121 mutex_lock(&bat_idr_lock); 121 mutex_lock(&bat_idr_lock);
122 idr_remove(&bat_idr, id); 122 idr_remove(&bat_idr, id);
123 mutex_unlock(&bat_idr_lock); 123 mutex_unlock(&bat_idr_lock);
124
125 return;
126} 124}
127 125
128static int w1_ds2760_add_slave(struct w1_slave *sl) 126static int w1_ds2760_add_slave(struct w1_slave *sl)
@@ -174,8 +172,6 @@ static void w1_ds2760_remove_slave(struct w1_slave *sl)
174 platform_device_unregister(pdev); 172 platform_device_unregister(pdev);
175 release_bat_id(id); 173 release_bat_id(id);
176 sysfs_remove_bin_file(&sl->dev.kobj, &w1_ds2760_bin_attr); 174 sysfs_remove_bin_file(&sl->dev.kobj, &w1_ds2760_bin_attr);
177
178 return;
179} 175}
180 176
181static struct w1_family_ops w1_ds2760_fops = { 177static struct w1_family_ops w1_ds2760_fops = {