File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1094,7 +1094,7 @@ static int aoa_fabric_layout_probe(struct soundbus_dev *sdev)
1094
1094
return - ENODEV ;
1095
1095
}
1096
1096
1097
- static int aoa_fabric_layout_remove (struct soundbus_dev * sdev )
1097
+ static void aoa_fabric_layout_remove (struct soundbus_dev * sdev )
1098
1098
{
1099
1099
struct layout_dev * ldev = dev_get_drvdata (& sdev -> ofdev .dev );
1100
1100
int i ;
@@ -1123,7 +1123,6 @@ static int aoa_fabric_layout_remove(struct soundbus_dev *sdev)
1123
1123
kfree (ldev );
1124
1124
sdev -> pcmid = -1 ;
1125
1125
sdev -> pcmname = NULL ;
1126
- return 0 ;
1127
1126
}
1128
1127
1129
1128
#ifdef CONFIG_PM_SLEEP
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ struct soundbus_driver {
185
185
/* we don't implement any matching at all */
186
186
187
187
int (* probe )(struct soundbus_dev * dev );
188
- int (* remove )(struct soundbus_dev * dev );
188
+ void (* remove )(struct soundbus_dev * dev );
189
189
190
190
int (* shutdown )(struct soundbus_dev * dev );
191
191
You can’t perform that action at this time.
0 commit comments