On Fri, 20 Oct 2017 07:37:29 +0200
Corentin Labbe wrote:
> The usage of of_device_get_match_data reduce the code size a bit.
> Furthermore, it prevents an improbable dereference when
> of_match_device() return NULL.
>
> Signed-off-by: Corentin Labbe
Nice little tidy up - thanks.
Applied to the
The usage of of_device_get_match_data reduce the code size a bit.
Furthermore, it prevents an improbable dereference when
of_match_device() return NULL.
Signed-off-by: Corentin Labbe
---
drivers/iio/adc/sun4i-gpadc-iio.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/d
2 matches
Mail list logo