mfd: tps65910: Move an assignment in tps65910_sleepinit()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 9 Mar 2018 08:19:42 +0000 (09:19 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 May 2018 08:21:48 +0000 (09:21 +0100)
commit71bc4f1de3c5c14e7512c648249494238fd8405e
tree950fd9ea223409cec5c5f8cbb7b21497a3de7a04
parentda257efa8787be2594baf08ed84461d71d6a6d23
mfd: tps65910: Move an assignment in tps65910_sleepinit()

Move the assignment for the local variable "dev" so that its setting
will be performed after a configuration check by this function.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps65910.c