[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VcnfF3ucuAJXDDy8pit5-LE42d4ROkL2y3QZroK6RU4Rw@mail.gmail.com>
Date: Tue, 21 Jul 2020 17:23:03 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Mattijs Korpershoek <mkorpershoek@...libre.com>
Cc: Fengping yu <fengping.yu@...iatek.com>,
Yingjoe Chen <yingjoe.chen@...iatek.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Marco Felsch <m.felsch@...gutronix.de>,
Rob Herring <robh+dt@...nel.org>,
linux-input <linux-input@...r.kernel.org>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>
Subject: Re: [PATCH v15 2/3] drivers: input:keyboard: Add mtk keypad driver
On Tue, Jul 21, 2020 at 3:38 PM Mattijs Korpershoek
<mkorpershoek@...libre.com> wrote:
> Fengping yu <fengping.yu@...iatek.com> writes:
> > This adds matrix keypad support for Mediatek SoCs.
...
> > + keypad->regmap = devm_regmap_init_mmio(&pdev->dev,
> > + keypad->base,
> > + &keypad_regmap_cfg);
> > + if (IS_ERR(keypad->regmap)) {
> > + dev_err(&pdev->dev,
> > + "regmap init failed:%ld\n", PTR_ERR(keypad->regmap));
> > + return PTR_ERR(keypad->regmap);
> > + }
Okay, because another comment appeared, I would suggest to switch to
%pe at the same time.
dev_err(&pdev->dev, "regmap init failed: %pe\n", keypad->regmap);
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists