* [PATCH] iio: dummy: No semicolon at end of function definition
@ 2016-12-20 16:38 Peter Meerwald-Stadler
2016-12-30 18:35 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Peter Meerwald-Stadler @ 2016-12-20 16:38 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio, Peter Meerwald-Stadler
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
---
drivers/iio/dummy/iio_simple_dummy.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/dummy/iio_simple_dummy.h b/drivers/iio/dummy/iio_simple_dummy.h
index b9069a1..f7005c3 100644
--- a/drivers/iio/dummy/iio_simple_dummy.h
+++ b/drivers/iio/dummy/iio_simple_dummy.h
@@ -88,11 +88,11 @@ int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev,
iio_simple_dummy_events_register(struct iio_dev *indio_dev)
{
return 0;
-};
+}
static inline void
iio_simple_dummy_events_unregister(struct iio_dev *indio_dev)
-{ };
+{}
#endif /* CONFIG_IIO_SIMPLE_DUMMY_EVENTS*/
@@ -119,11 +119,11 @@ enum iio_simple_dummy_scan_elements {
static inline int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev)
{
return 0;
-};
+}
static inline
void iio_simple_dummy_unconfigure_buffer(struct iio_dev *indio_dev)
-{};
+{}
#endif /* CONFIG_IIO_SIMPLE_DUMMY_BUFFER */
#endif /* _IIO_SIMPLE_DUMMY_H_ */
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: dummy: No semicolon at end of function definition
2016-12-20 16:38 [PATCH] iio: dummy: No semicolon at end of function definition Peter Meerwald-Stadler
@ 2016-12-30 18:35 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2016-12-30 18:35 UTC (permalink / raw)
To: Peter Meerwald-Stadler; +Cc: linux-iio
On 20/12/16 16:38, Peter Meerwald-Stadler wrote:
> Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Ah. My bad habits long ago ;)
Applied.
Thanks,
Jonathan
> ---
> drivers/iio/dummy/iio_simple_dummy.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/iio/dummy/iio_simple_dummy.h b/drivers/iio/dummy/iio_simple_dummy.h
> index b9069a1..f7005c3 100644
> --- a/drivers/iio/dummy/iio_simple_dummy.h
> +++ b/drivers/iio/dummy/iio_simple_dummy.h
> @@ -88,11 +88,11 @@ int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev,
> iio_simple_dummy_events_register(struct iio_dev *indio_dev)
> {
> return 0;
> -};
> +}
>
> static inline void
> iio_simple_dummy_events_unregister(struct iio_dev *indio_dev)
> -{ };
> +{}
>
> #endif /* CONFIG_IIO_SIMPLE_DUMMY_EVENTS*/
>
> @@ -119,11 +119,11 @@ enum iio_simple_dummy_scan_elements {
> static inline int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev)
> {
> return 0;
> -};
> +}
>
> static inline
> void iio_simple_dummy_unconfigure_buffer(struct iio_dev *indio_dev)
> -{};
> +{}
>
> #endif /* CONFIG_IIO_SIMPLE_DUMMY_BUFFER */
> #endif /* _IIO_SIMPLE_DUMMY_H_ */
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-30 18:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-20 16:38 [PATCH] iio: dummy: No semicolon at end of function definition Peter Meerwald-Stadler
2016-12-30 18:35 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).