diff options
author | Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com> | 2017-08-10 08:30:20 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-12 14:10:30 +0200 |
commit | ce0d376140838b080b8625892203704d6f10784b (patch) | |
tree | 16d0b5b96721392767999de4e4188e71a316c5e2 /drivers/iio/pressure | |
parent | staging: iio: adc: fix error return code in ad7606_par_probe() (diff) | |
download | linux-ce0d376140838b080b8625892203704d6f10784b.tar.xz linux-ce0d376140838b080b8625892203704d6f10784b.zip |
iio: adc: xadc: Fix coding style violations
This patch fix following checkpatch warnings in xadc driver
1. prefer 'unsigned int' to bare use of 'unsigned'.
2. else is not generally useful after a break or return.
3. fill all function definition arguments with identifier name
Signed-off-by: Sai Krishna Potthuri <lakshmis@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions