commit | 23a700455a1bc55f3ea20675e574181b8c129306 | [log] [tgz] |
---|---|---|
author | Stefan Riedmueller <s.riedmueller@phytec.de> | Wed Apr 14 13:51:24 2021 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Sun Apr 25 23:59:58 2021 +0200 |
tree | 1688753f7e4dda6e84ee8667074b1fde321f3ebf | |
parent | 5fe09e16c689eae88a151c2f8199c73cf6f18d7d [diff] |
leds: pca9532: Assign gpio base dynamically When using devicetree, gpio_base holds its initial zero value which can lead to a rejection if another gpio controller already occupies this base. To prevent that collision let the gpio base be assigned dynamically. Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Pavel Machek <pavel@ucw.cz>