Home
last modified time | relevance | path

Searched hist:"47 f3b26e708b59dcb10eae2db79bf3aeecfdd9e5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dstmpe-adc.cdiff 47f3b26e708b59dcb10eae2db79bf3aeecfdd9e5 Sun Oct 13 04:15:41 CDT 2019 Jonathan Cameron <Jonathan.Cameron@huawei.com> iio: adc: stmpe-adc: Cleanup endian type of local variable

Nothing stops data being of type __be16, which fixes the warning:

CHECK drivers/iio/adc/stmpe-adc.c
drivers/iio/adc/stmpe-adc.c:202:29: warning: cast to restricted __be16
drivers/iio/adc/stmpe-adc.c:202:29: warning: cast to restricted __be16
drivers/iio/adc/stmpe-adc.c:202:29: warning: cast to restricted __be16
drivers/iio/adc/stmpe-adc.c:202:29: warning: cast to restricted __be16

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: <philippe.schenker@toradex.com>