mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
driver core fixes: sysfs_create_group() retval in topology.c
Return the return value of sysfs_create_group() in topology_add_dev(). Signed-off-by: Cornelia Huck <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
141ecc5320
commit
221c324a33
1 changed files with 1 additions and 2 deletions
|
|
@ -97,8 +97,7 @@ static struct attribute_group topology_attr_group = {
|
|||
/* Add/Remove cpu_topology interface for CPU device */
|
||||
static int __cpuinit topology_add_dev(struct sys_device * sys_dev)
|
||||
{
|
||||
sysfs_create_group(&sys_dev->kobj, &topology_attr_group);
|
||||
return 0;
|
||||
return sysfs_create_group(&sys_dev->kobj, &topology_attr_group);
|
||||
}
|
||||
|
||||
static int __cpuinit topology_remove_dev(struct sys_device * sys_dev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue