Commit 93636775 authored by Sandhya Bankar's avatar Sandhya Bankar Committed by Greg Kroah-Hartman

Staging: iio: ade7758: Use a blank line after function/struct declarations.

Use a blank line after function/struct declarations.
Signed-off-by: default avatarSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 929d2691
...@@ -129,6 +129,7 @@ struct ade7758_state { ...@@ -129,6 +129,7 @@ struct ade7758_state {
unsigned char tx_buf[8]; unsigned char tx_buf[8];
}; };
#ifdef CONFIG_IIO_BUFFER #ifdef CONFIG_IIO_BUFFER
/* At the moment triggers are only used for ring buffer /* At the moment triggers are only used for ring buffer
* filling. This may change! * filling. This may change!
...@@ -157,6 +158,7 @@ int ade7758_spi_read_reg_8(struct device *dev, ...@@ -157,6 +158,7 @@ int ade7758_spi_read_reg_8(struct device *dev,
static inline void ade7758_remove_trigger(struct iio_dev *indio_dev) static inline void ade7758_remove_trigger(struct iio_dev *indio_dev)
{ {
} }
static inline int ade7758_probe_trigger(struct iio_dev *indio_dev) static inline int ade7758_probe_trigger(struct iio_dev *indio_dev)
{ {
return 0; return 0;
...@@ -166,16 +168,20 @@ static int ade7758_configure_ring(struct iio_dev *indio_dev) ...@@ -166,16 +168,20 @@ static int ade7758_configure_ring(struct iio_dev *indio_dev)
{ {
return 0; return 0;
} }
static inline void ade7758_unconfigure_ring(struct iio_dev *indio_dev) static inline void ade7758_unconfigure_ring(struct iio_dev *indio_dev)
{ {
} }
static inline int ade7758_initialize_ring(struct iio_ring_buffer *ring) static inline int ade7758_initialize_ring(struct iio_ring_buffer *ring)
{ {
return 0; return 0;
} }
static inline void ade7758_uninitialize_ring(struct iio_dev *indio_dev) static inline void ade7758_uninitialize_ring(struct iio_dev *indio_dev)
{ {
} }
#endif /* CONFIG_IIO_BUFFER */ #endif /* CONFIG_IIO_BUFFER */
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment