Input: axp20x-pek - use our own device for errors
authorHans de Goede <hdegoede@redhat.com>
Thu, 9 Mar 2017 17:47:01 +0000 (09:47 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Mar 2017 18:01:02 +0000 (10:01 -0800)
commit73915f369e6957c0d7ddca9f7435cc6f76d5320a
tree202b8258b67f0254458759aaef754f1cb787452f
parentbc682a50a0716f556cf6dfb209bd8d772c1d635c
Input: axp20x-pek - use our own device for errors

Before this commit axp20x-pek was mixing 2 style error reporting calls:
dev_err(&pdev->dev, ...);
dev_err(axp20x->dev, ...);

But the second is our parent device, not our own device, so switch to
using &pdev->dev everywhere.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/axp20x-pek.c