diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-02-07 10:08:38 +0100 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2021-03-30 18:25:22 +0200 |
commit | dbc334fb411f2e87ca0e812dc7ba13464aa89504 (patch) | |
tree | 3cf308427547bcdfdb10d147bcb113fa5213aff1 /drivers/tty | |
parent | Linux 5.12-rc2 (diff) | |
download | linux-dbc334fb411f2e87ca0e812dc7ba13464aa89504.tar.xz linux-dbc334fb411f2e87ca0e812dc7ba13464aa89504.zip |
platform/chrome: wilco_ec: convert stream-like files from nonseekable_open -> stream_open
Eliminate the following coccicheck warning:
./drivers/platform/chrome/wilco_ec/telemetry.c:259:1-17: WARNING:
telem_fops: .read() and .write() have stream semantic; safe to change
nonseekable_open -> stream_open.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/1612688918-63132-1-git-send-email-yang.lee@linux.alibaba.com
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions