Skip to content

Commit

Permalink
mfd: tps65910: Delete an unnecessary variable initialisation in tps65…
Browse files Browse the repository at this point in the history
…910_sleepinit()

The local variable "dev" will be reassigned by a following statement.
Thus omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
  • Loading branch information
elfring authored and Lee Jones committed May 16, 2018
1 parent dae3be3 commit da257ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/tps65910.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ static int tps65910_ck32k_init(struct tps65910 *tps65910,
static int tps65910_sleepinit(struct tps65910 *tps65910,
struct tps65910_board *pmic_pdata)
{
struct device *dev = NULL;
struct device *dev;
int ret;

dev = tps65910->dev;
Expand Down

0 comments on commit da257ef

Please sign in to comment.