staging: iio: adc: ad7280a: don't cast type inside switch expression
authorSlawomir Stepien <sst@poczta.fm>
Fri, 26 Oct 2018 16:53:10 +0000 (18:53 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 11 Nov 2018 15:29:43 +0000 (15:29 +0000)
commitfdee2ca14bcaecbd5738c679f91acbab74b349aa
tree7ab7cae6236448bfc6356ef9c568e8d45e1aa22c
parent2eb4c9f2a5d7893e3bed451216ec248a3ce44ed2
staging: iio: adc: ad7280a: don't cast type inside switch expression

The type promotion will kick in, so the comparison will work.

Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/adc/ad7280a.c