aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2024-06-04 15:02:15 +0000
committerAndy Shevchenko <[email protected]>2024-06-11 13:58:52 +0000
commit2ccfe94bc3ac980d2d1df9f7a0b2c6d2137abe55 (patch)
tree5983b61652e4a6ca8a1c8184b554bdc59f8d0884 /rust/helpers.c
parentauxdisplay: Use sizeof(*pointer) instead of sizeof(type) (diff)
downloadkernel-2ccfe94bc3ac980d2d1df9f7a0b2c6d2137abe55.tar.gz
kernel-2ccfe94bc3ac980d2d1df9f7a0b2c6d2137abe55.zip
auxdisplay: ht16k33: Drop reference after LED registration
The reference count is bumped by device_get_named_child_node() and never dropped. Since LED APIs do not require it to be bumped by the user, drop the reference after LED registration. [andy: rewritten the commit message and amended the change] Fixes: c223d9c636ed ("auxdisplay: ht16k33: Add LED support") Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions