gpiolib: assign chip owner to dev->driver->owner if not set
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 25 Jun 2015 17:30:51 +0000 (20:30 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2015 11:21:08 +0000 (13:21 +0200)
commit3726960edc63bb1e09678841df44b44feee20305
treeae0f4104da908bf764a3a9a0f5423e0733974d75
parent5b76e79c772648991e700f004205e9ac861c77c0
gpiolib: assign chip owner to dev->driver->owner if not set

Assign GPIO chip owner field to chip->dev->driver->owner if it was not
configured by GPIO driver.

Cc: Johan Hovold <johan@kernel.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c