Skip to content
Commit 23a70045 authored by Stefan Riedmueller's avatar Stefan Riedmueller Committed by Pavel Machek
Browse files

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: default avatarStefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 5fe09e16
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment