]> git.dujemihanovic.xyz Git - u-boot.git/commit
button: qcom-pmic: move node name checks to btn_data struct
authorNeil Armstrong <neil.armstrong@linaro.org>
Wed, 10 Apr 2024 15:59:44 +0000 (17:59 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:02 +0000 (13:29 +0200)
commite3abf220f11c1097532e49314fb84485c12c8b2d
tree588a62c1668351ec58b6d3b0d5a11f0978ef0897
parentb6f1d3353292af1a7b0d8cc239a8a282de148c9b
button: qcom-pmic: move node name checks to btn_data struct

Move node name checks to a proper data struct with all information
for the supported subnodes.

Replace the key offset defines with the Linux driver ones.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/button/button-qcom-pmic.c