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 /fs/xattr.c | |
parent | 2e53d52c0108f03fb9fc67419c20a0b31acade52 (diff) |
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 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions