aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-04-19 18:33:34 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-04-20 16:18:08 +0200
commit6dfbb2cece78fc54a3f8bd116dbe20cf3bc63df1 (patch)
tree05304006340f199232e316fd56cdbfaae2f1af5a /scripts/gdb/linux/utils.py
parentpower: supply: max17040: handle device_property_read_u8_array() failure (diff)
downloadlinux-dev-6dfbb2cece78fc54a3f8bd116dbe20cf3bc63df1.tar.xz
linux-dev-6dfbb2cece78fc54a3f8bd116dbe20cf3bc63df1.zip
power: supply: max17040: remove unneeded double cast
There is no need for double explicit cast from of_device_get_match_data() (uintptr_t and then to target enum) because implicit conversion from uintptr_t to enum is straightforward (uintptr_t is a integer type). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions