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: NStefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: NPavel Machek <pavel@ucw.cz>
Showing
想要评论请 注册 或 登录