staging: line6: Fix some checkpatch warnings in control.c
Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
acdc102181
commit
2a20bf6f1a
|
@ -727,6 +727,7 @@ int pod_create_files(int firmware, int type, struct device *dev)
|
||||||
(dev, &dev_attr_band_6_gain__bass));
|
(dev, &dev_attr_band_6_gain__bass));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(pod_create_files);
|
||||||
|
|
||||||
void pod_remove_files(int firmware, int type, struct device *dev)
|
void pod_remove_files(int firmware, int type, struct device *dev)
|
||||||
{
|
{
|
||||||
|
@ -901,8 +902,6 @@ void pod_remove_files(int firmware, int type, struct device *dev)
|
||||||
if (firmware >= 200)
|
if (firmware >= 200)
|
||||||
device_remove_file(dev, &dev_attr_band_6_gain__bass);
|
device_remove_file(dev, &dev_attr_band_6_gain__bass);
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(pod_create_files);
|
|
||||||
EXPORT_SYMBOL(pod_remove_files);
|
EXPORT_SYMBOL(pod_remove_files);
|
||||||
|
|
||||||
int variax_create_files(int firmware, int type, struct device *dev)
|
int variax_create_files(int firmware, int type, struct device *dev)
|
||||||
|
@ -949,6 +948,7 @@ int variax_create_files(int firmware, int type, struct device *dev)
|
||||||
CHECK_RETURN(device_create_file(dev, &dev_attr_pickup_wiring));
|
CHECK_RETURN(device_create_file(dev, &dev_attr_pickup_wiring));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(variax_create_files);
|
||||||
|
|
||||||
void variax_remove_files(int firmware, int type, struct device *dev)
|
void variax_remove_files(int firmware, int type, struct device *dev)
|
||||||
{
|
{
|
||||||
|
@ -992,6 +992,4 @@ void variax_remove_files(int firmware, int type, struct device *dev)
|
||||||
device_remove_file(dev, &dev_attr_mix1);
|
device_remove_file(dev, &dev_attr_mix1);
|
||||||
device_remove_file(dev, &dev_attr_pickup_wiring);
|
device_remove_file(dev, &dev_attr_pickup_wiring);
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(variax_create_files);
|
|
||||||
EXPORT_SYMBOL(variax_remove_files);
|
EXPORT_SYMBOL(variax_remove_files);
|
||||||
|
|
Loading…
Reference in a new issue