aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2019-08-08 14:19:36 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-09-02 09:06:52 -0700
commita866781e84dd022dde5d307093555e65c31277de (patch)
tree5bf08271ec59eb574265f1daa6d46261e24afe6c /scripts/gdb/linux/utils.py
parentInput: bu21013_ts - convert to use GPIO descriptors (diff)
downloadwireguard-linux-a866781e84dd022dde5d307093555e65c31277de.tar.xz
wireguard-linux-a866781e84dd022dde5d307093555e65c31277de.zip
Input: bu21013_ts - rename some variables
"bu21013_data" and "struct bu21013_ts_data" are a tad long, let's call them "ts" and "struct bu21013_ts". Also rename retval to error in bu21013_init_chip() and adjust formatting; i2c_smbus_write_byte_data() returns negative on error and 0 on success, so we simply test if whether erro is 0 or not. Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions