Staging: iio: adt7316: Move symbol export to definition
This patch clears the following checkpatch.pl warning: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL_GPL(adt7316_pm_ops); Signed-off-by: David Veenstra <davidjulianveenstra@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Родитель
a937729c93
Коммит
1237a3d4a0
|
@ -2079,9 +2079,8 @@ static int adt7316_enable(struct device *dev)
|
|||
|
||||
return _adt7316_store_enabled(chip, 1);
|
||||
}
|
||||
|
||||
SIMPLE_DEV_PM_OPS(adt7316_pm_ops, adt7316_disable, adt7316_enable);
|
||||
EXPORT_SYMBOL_GPL(adt7316_pm_ops);
|
||||
SIMPLE_DEV_PM_OPS(adt7316_pm_ops, adt7316_disable, adt7316_enable);
|
||||
#endif
|
||||
|
||||
static const struct iio_info adt7316_info = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче