Re: [PATCH v3 3/4] Staging: iio: adis16209: Adjust a switch statement

2018-03-07 Thread Jonathan Cameron
On Sun, 4 Mar 2018 18:13:12 +0530 Shreeya Patel wrote: > Adjust a switch block to explicitly match channels and > return -EINVAL as default case which makes the code > semantically more clear. > > Signed-off-by: Shreeya Patel Applied

[PATCH v3 3/4] Staging: iio: adis16209: Adjust a switch statement

2018-03-04 Thread Shreeya Patel
Adjust a switch block to explicitly match channels and return -EINVAL as default case which makes the code semantically more clear. Signed-off-by: Shreeya Patel --- Changes in v3 -After split patch. drivers/staging/iio/accel/adis16209.c | 10 -- 1 file