Re: [PATCH] iio: dummy: No semicolon at end of function definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/12/16 16:38, Peter Meerwald-Stadler wrote:
> Signed-off-by: Peter Meerwald-Stadler <pmeerw@xxxxxxxxxx>
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_ */
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux