diff options
author | Munir Contractor <munircontractor@gmail.com> | 2017-08-14 22:02:08 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-08-14 22:12:05 -0700 |
commit | 9e04b79ce432b8be2419dc52021afb6f07b78540 (patch) | |
tree | 64228b20e4d7e59fc7b64a6eff65469b2fb0f279 /drivers/input/touchscreen/sun4i-ts.c | |
parent | Input: mxs-lradc - make symbol mxs_lradc_ts_irq_names static (diff) | |
download | linux-dev-9e04b79ce432b8be2419dc52021afb6f07b78540.tar.xz linux-dev-9e04b79ce432b8be2419dc52021afb6f07b78540.zip |
Input: pcspkr - fix code style and error value in pcspkr_event
This patch fixes the following issues in pcspkr:
* Return -EINVAL when input arguments are not valid in pcspkr_event
function instead of -1.
* Replace <asm/io.h> with <linux/io.h>
* Fix indentation of case blocks in switch statement
* Reduce length of line 28 to less than 80 characters
The style issues were discovered by checkpatch.pl script.
Signed-off-by: Munir Contractor <munircontractor@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions