On Thu, Aug 27, 2020 at 12:03:52PM +0300, Andy Shevchenko wrote:
> On Wed, Aug 26, 2020 at 9:20 PM Krzysztof Kozlowski wrote:
> >
> > Common pattern of handling deferred probe can be simplified with
> > dev_err_probe(). Less code and also it prints the error value.
>
> > vibrator->vcc =
On Wed, Aug 26, 2020 at 9:20 PM Krzysztof Kozlowski wrote:
>
> Common pattern of handling deferred probe can be simplified with
> dev_err_probe(). Less code and also it prints the error value.
> vibrator->vcc = devm_regulator_get(>dev, "vcc");
> err =
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.
Signed-off-by: Krzysztof Kozlowski
---
drivers/input/misc/gpio-vibra.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git
3 matches
Mail list logo