mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Power supply class and drivers: remove non obligatory return statements
Per Jeff Garzik request. Signed-off-by: Jeff Garzik <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
This commit is contained in:
parent
5ebf6e6a96
commit
7b3d54a8c3
9 changed files with 0 additions and 39 deletions
|
|
@ -121,8 +121,6 @@ static void release_bat_id(int id)
|
|||
mutex_lock(&bat_idr_lock);
|
||||
idr_remove(&bat_idr, id);
|
||||
mutex_unlock(&bat_idr_lock);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int w1_ds2760_add_slave(struct w1_slave *sl)
|
||||
|
|
@ -174,8 +172,6 @@ static void w1_ds2760_remove_slave(struct w1_slave *sl)
|
|||
platform_device_unregister(pdev);
|
||||
release_bat_id(id);
|
||||
sysfs_remove_bin_file(&sl->dev.kobj, &w1_ds2760_bin_attr);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static struct w1_family_ops w1_ds2760_fops = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue