lkml.org 
[lkml]   [2022]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 5/6] Input: Add tps65219 interrupt driven powerbutton
Hi Jerome,

On Tue, Sep 13, 2022 at 02:14:18PM +0200, Jerome Neanne wrote:
> + idev = devm_input_allocate_device(dev);
> + if (!idev)
> + return -ENOMEM;
> +
> + idev->name = pdev->name;
> + snprintf(pwr->phys, sizeof(pwr->phys), "%s/input0",
> + pdev->name);
> + idev->phys = pwr->phys;
> + idev->dev.parent = dev;

This assignment is not needed given that devm_input_allocate_device()
is used. Otherwise:

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Please feel free to merge through MFD tree.

Thanks.

--
Dmitry

\
 
 \ /
  Last update: 2022-09-14 14:33    [W:0.064 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site