mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-27 14:14:22 +07:00
Staging: iio: resolver: Missing a blank line after declarations
This patch fixes these warning messages found by checkpatch.pl: WARNING : Missing a blank line after declarations Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4b4c727519
commit
8a689c1147
@ -197,6 +197,7 @@ static ssize_t ad2s1210_show_fclkin(struct device *dev,
|
|||||||
char *buf)
|
char *buf)
|
||||||
{
|
{
|
||||||
struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev));
|
struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev));
|
||||||
|
|
||||||
return sprintf(buf, "%d\n", st->fclkin);
|
return sprintf(buf, "%d\n", st->fclkin);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -235,6 +236,7 @@ static ssize_t ad2s1210_show_fexcit(struct device *dev,
|
|||||||
char *buf)
|
char *buf)
|
||||||
{
|
{
|
||||||
struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev));
|
struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev));
|
||||||
|
|
||||||
return sprintf(buf, "%d\n", st->fexcit);
|
return sprintf(buf, "%d\n", st->fexcit);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -271,6 +273,7 @@ static ssize_t ad2s1210_show_control(struct device *dev,
|
|||||||
{
|
{
|
||||||
struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev));
|
struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev));
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
mutex_lock(&st->lock);
|
mutex_lock(&st->lock);
|
||||||
ret = ad2s1210_config_read(st, AD2S1210_REG_CONTROL);
|
ret = ad2s1210_config_read(st, AD2S1210_REG_CONTROL);
|
||||||
mutex_unlock(&st->lock);
|
mutex_unlock(&st->lock);
|
||||||
@ -328,6 +331,7 @@ static ssize_t ad2s1210_show_resolution(struct device *dev,
|
|||||||
struct device_attribute *attr, char *buf)
|
struct device_attribute *attr, char *buf)
|
||||||
{
|
{
|
||||||
struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev));
|
struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev));
|
||||||
|
|
||||||
return sprintf(buf, "%d\n", st->resolution);
|
return sprintf(buf, "%d\n", st->resolution);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user