aboutsummaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2015-06-30 20:04:18 +0200
committerLinus Walleij <[email protected]>2015-07-16 13:42:46 +0200
commit34ab54edbef902f31842b428dce9530f3283847c (patch)
treedcbd398e4baea67b365a06628cf3e62d02c78946 /lib/timerqueue.c
parent5b2c9121ef7cf9745f0c1df10544fd0ba6a6a38c (diff)
gpio: max732x: Add missing dev reference to gpiochip
In case the gpiochip doesn't have the .dev field set, as is the case in here, it is not possible to reference this device in DT as a GPIO controller. A good example of this problem is that gpio-leds can not be used when connected to this chip, the gpio-leds driver bails out with -EPROBE_DEFER. Fix this problem by setting the .dev field of the gpio_chip to the parent i2c device. Signed-off-by: Marek Vasut <[email protected]> Cc: Alexandre Courbot <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Mans Rullgard <[email protected]> Cc: Olaf Mandel <[email protected]> Cc: Semen Protsenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions