diff options
| author | Gimcuan Hui <gimcuan@gmail.com> | 2017-11-27 15:36:51 +0000 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2017-11-28 09:42:50 +0100 |
| commit | d8a42b1ff8a3755cc710785c7e4b5e59636399ca (patch) | |
| tree | e563f6fbcaf1dcbb0c35c891042b2b5ed99e8b5d /tools/perf/scripts/python | |
| parent | USB: serial: iuu_phoenix: remove redundant assignment of DIV to itself (diff) | |
| download | linux-d8a42b1ff8a3755cc710785c7e4b5e59636399ca.tar.gz linux-d8a42b1ff8a3755cc710785c7e4b5e59636399ca.zip | |
USB: serial: ark3116: clean up return values of register accessors
write_reg returns 0 on success, we can make it more explicit by returning
number 0 instead of result variable.
read_reg should return 0 on success since this is a more common pattern.
The user of read_reg has been clean-up and should be at the same commit.
Signed-off-by: Gimcuan Hui <gimcuan@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
