Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7902659rdb; Thu, 4 Jan 2024 11:11:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEyTKtEdAdeKLv/nb33JBxLM2+fZ51cnAl99+4zEg4eseOPIWAHf8RpvUWfg/QfgB6H/dph X-Received: by 2002:a17:902:e744:b0:1d4:3dfd:7e35 with SMTP id p4-20020a170902e74400b001d43dfd7e35mr1170385plf.114.1704395470672; Thu, 04 Jan 2024 11:11:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704395470; cv=pass; d=google.com; s=arc-20160816; b=rvn+KS0R7iyJfmzVSRv9iQZZR5H6n/MmGyavgsy8BoaXovW22a5ryvpZOuQarj1sub jj6UHTlbi6jg1Fsf0w3tTNj+rP3dGS77Xodo+OLhCXOzZ4uUfW80Wt0AB043e3tMow70 4mu6PO8nBC6nbXpiVvzNOuvnRDS5QsWIu5qgA8b7NbNxkWwVmVw03ERJH7qSA1uJbKtG b8dkwwqFpf3XFIrCfgziAG/e2fmDJ4uZjqlBO3P5JfkyjaPY9J4puj+Fnq2Qr6BlpYM/ hwQ4J4U5n3V55h0RtUyMR4xY7qguRdULQH+nhwHFA5z7Dbgb+bKO96dAHp7JZyfqO7b7 mxWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=O+g5EKLalG8P+bWkoYdnXjdQ1ZxcS807tWxacAYa7PE=; fh=89UHFllEm4XlQ1Yle6mMV7RalGPoSDMD2bEPERBIP+I=; b=V5VvQP+CPa/ShFMBfAjWaguU/1zZPyUNqyW1n/9MCqZwbHp9BYYXYy5A00cuCR6qij E08uzOfnTXvyt/7dWOs6DmXtCtJ2aW09t109AOJgKB5Tt584R/itLWyttm5VXt0ROXrw 6Ah8p4buzhOAFjbf1oAHivkCjArtD7BmUgzJm59GsFzRJNil1Sz/vCtNg5IRn9g7JUjJ UPyV80l6VHTe8UCZESwVq6KFnd+Jo/0u/pS29cYzTNpgEfX6e8YcK2EQ0rB8fEM+z46J FHfXchh6J2UHNi8HXpAzI1VatOMB/JPw7Bz/m/UNoxvcG51xdd+PK/ZR2mJy+a6lpPmt cdlQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bp.renesas.com header.s=selector1 header.b=vdKuLnb4; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dkim=pass dkdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-17127-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17127-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l17-20020a170902f69100b001d3e44faf1bsi24194170plg.242.2024.01.04.11.11.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 11:11:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17127-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@bp.renesas.com header.s=selector1 header.b=vdKuLnb4; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dkim=pass dkdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-17127-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17127-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 98327B25001 for ; Thu, 4 Jan 2024 19:10:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C37D32C692; Thu, 4 Jan 2024 19:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=bp.renesas.com header.i=@bp.renesas.com header.b="vdKuLnb4" X-Original-To: linux-kernel@vger.kernel.org Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2131.outbound.protection.outlook.com [40.107.114.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B1462C681; Thu, 4 Jan 2024 19:09:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B7jET+G3u97x39SBVpggpEaEbPd0CFrevizKJ41LEH/Aodn2wWZU/3xZ42t0BidGXxrjumOxlmpLtRK7qcg2KHQLoWXFE4fWLnRj6qpMxbWBAd4DBBKhTYKvzKNgW2u8x66f3H7H3hQ4yHDr0Ygw6Lc08t2L/aw/qupik1G88v2vM8NsSWxRhfaH2Py4PNHDh1rYmv013fbTNFyRCSA2e6rTLZ/lLQqOqVNTkv3YY7iOTRtAQdKechUWu2WQPtraKvs38FKLrXq44qDA9biPSYNdwyZh3DpzDvzFfJOZfIgLpO1REjuMbXlqzT/wqD2DCwlfhCK+IByZ7AGrTX2Zvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=O+g5EKLalG8P+bWkoYdnXjdQ1ZxcS807tWxacAYa7PE=; b=RcatYVN0iUo4m7P0QPZKHcg9i7tOioYtU0SWCdqLU6GeDgweDzTPlWgXe89lRbAVHVTdQhkGIOUX2XTOOt6BPi4+s4zggF9Zf/2KqehmHUnL3AYK9a2w0C7eqrZZtudGUMeUUil3HpTE3EWjvru0+R4w9mWM+FfQh9fqSqKEizpVd8AzhdPygKKmK2Cm9OP+CUiO/pzgrYX+HtyNcLaeY/NQpdNY1oCY1MN0uFxIos8niVlugvjDBzD5Dg08+/RAUceL6iVpOrwgy+LLIlITXHbXTviUIGE+quegxNk+JcAeoX3p5kq1Rw8S9CpePWbzfSqw3ltJbU8SC8UYky7nUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bp.renesas.com; dmarc=pass action=none header.from=bp.renesas.com; dkim=pass header.d=bp.renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bp.renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O+g5EKLalG8P+bWkoYdnXjdQ1ZxcS807tWxacAYa7PE=; b=vdKuLnb4j5OyTWpaFGiMiAdSQX/S9vgjV7mD3YdY7q82TA29nPcXdkelxx3Ec1CLhLadTRNkfEsuKhiF0dazUYziP3oX5kA8p7SRt7ZDYpWksNPML5iMw6WARDGjrDTQB0gXM7ySk37YjcuHb2HAtNaCOM2ZsbSgO1bNO4EMgek= Received: from TYCPR01MB11269.jpnprd01.prod.outlook.com (2603:1096:400:3c0::10) by TYWPR01MB8478.jpnprd01.prod.outlook.com (2603:1096:400:175::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.9; Thu, 4 Jan 2024 19:09:48 +0000 Received: from TYCPR01MB11269.jpnprd01.prod.outlook.com ([fe80::8d12:a02a:9fdc:9c78]) by TYCPR01MB11269.jpnprd01.prod.outlook.com ([fe80::8d12:a02a:9fdc:9c78%5]) with mapi id 15.20.7181.009; Thu, 4 Jan 2024 19:09:48 +0000 From: Biju Das To: Dmitry Torokhov , Support Opensource CC: "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] Input: da9063_onkey - avoid explicitly setting input's parent Thread-Topic: [PATCH] Input: da9063_onkey - avoid explicitly setting input's parent Thread-Index: AQHaM7spcaFVxQzVj0aWvnobzcBporDKG4WQ Date: Thu, 4 Jan 2024 19:09:48 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=bp.renesas.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCPR01MB11269:EE_|TYWPR01MB8478:EE_ x-ms-office365-filtering-correlation-id: ca0361a5-16ac-45c3-0532-08dc0d58b8ae x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Q7J7lHSvMWomKKmcxIucDApTFrVjzprp0UmQ+vHAYfl1JLKFFXnY4GvWRMiPr2TfgWRRBGte/Guz1B5RyqxRDAo1PeDF9hpe13RUKm2e7djpm80TfoxJSDqyLUcPefnPM/gLr1vd+f2FgUllE2C45QhIQyH5wuucbIzq7ARnMG4/sdcRZ2Rm0M+liWoRXacgTb58LS3MeW6Paml8LVomJPvT1Y/rmxtbKSDkijT0QdjNYIIe57ekICCi7Lp4XEaDWWR2kw34B44HVEBzOjfZrgSvUPoIXZrHUD8jb4ueN/4KDgSMho6vXDjtA3BsgjvDrXvlnw2hIs754R7twzDVYIsCu9KEkdd4fECi8GUYZhiwPxMI06WB3EPyI49fFRh027oJy1eluDvRdDLMOuI59m6VnbBc9yPWYk+Hi/QnRQZnTqbOF4rm1+mVulMgX56ZFWB+ytYSxnUIyieGlMIz3TBLz1PP6nM/X1CckMCveyPDrTEwYevUek69L/xqpHBJoaeZVm15gbzQUAj5feQvgTyCCpGPEkuA5tKgPxK79u7FQvImaURDzsOu+r6XkDh3Q1ikH/70IKRvfUTMgLXBsI0yQ7Kk87QqRZ1LQMiLbTLA2e/8dpLCMJfwzKMBBcTj x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB11269.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(39860400002)(346002)(136003)(396003)(376002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(55016003)(7696005)(53546011)(478600001)(9686003)(71200400001)(6506007)(38100700002)(122000001)(86362001)(33656002)(2906002)(5660300002)(38070700009)(41300700001)(83380400001)(316002)(110136005)(66556008)(66446008)(76116006)(66476007)(66946007)(64756008)(54906003)(52536014)(4326008)(8936002)(8676002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?nIb7pyp641aFKKhv5Z01IJsMOrBG2OBJRzJsBD3xlyvlrvjCi7PXdHbL4cCm?= =?us-ascii?Q?K2U9TmxA3fagoDJu6JzUqCID9v1MW2Ggw9hjHLKAf11IuY0bZabU3E+atHL7?= =?us-ascii?Q?O/1m6qaJoG8Q7yJzRObxevPIuhBUM/PX5i9NjRrUXC7QEuT9zmMuHZYCey8m?= =?us-ascii?Q?IGRcJ8BGdqbVc6+Ce8FrKSOnk2jxfpCjHWuECc6wsubgxIewjnimfU94bSBW?= =?us-ascii?Q?GjCa/nTGyuBFtjA5E0Gsl82gt0knJI1FN8n8NyT8kYV9c40KPlEgW/w8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/oLqnwBA7wmw4FIvbvBErXTore?= =?us-ascii?Q?R8QMdX7o03z8/PgFMFndCLvegl4AR313wP4YkJKA4u2x1C/5F6iWcCG2quC5?= =?us-ascii?Q?hHxhe1D43sFqU1htab2s90+CteTflSsx/J3kzkqu2hkIq2GI203tzUdmWQeA?= =?us-ascii?Q?4WJY1iQCuCzoKQrpm/Sj8CE88yC1PAauCCnZDQaGTPBI3ROujvHo1byQouEp?= =?us-ascii?Q?REpaCtPfwhLVMHLNT8kDRV0zzeplU5NYmPZxf7Pe0n0RlDwAnUKeLJVDBeRv?= =?us-ascii?Q?yArA7pMvnwg7Dg0vYT46SMk0hXs/rClTbNuQCM0JVZG6X6pu/eerB10b6OcC?= =?us-ascii?Q?6SbxyY1dSBFp5Ds4QmY4KJOkwp+fze1wP163xXvleDklPfM49tahrZZM9KwU?= =?us-ascii?Q?b4STt5JzgfMsi6OcMXM=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: bp.renesas.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB11269.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca0361a5-16ac-45c3-0532-08dc0d58b8ae X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2024 19:09:48.6410 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JXED2/cLVlkWGX0E0o1z6xkp7tJn31qvwBx+B5S2v/5vLfz/9NI6vocRRAa2zIKRxxSap1AXt5VfSd2EO3DD/4zlSODJZ9wkTkaydLvGoug= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB8478 Hi Dmitry Torokhov, Thanks for the patch. > -----Original Message----- > From: Dmitry Torokhov > Sent: Thursday, December 21, 2023 3:10 AM > To: Support Opensource ; Biju Das > > Cc: linux-input@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH] Input: da9063_onkey - avoid explicitly setting input's > parent >=20 > devm_input_allocate_device() already sets parent of the new input device, > there's no need to set it up explicitly. >=20 > Signed-off-by: Dmitry Torokhov Reviewed-by: Biju Das Cheers, Biju > --- > drivers/input/misc/da9063_onkey.c | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/drivers/input/misc/da9063_onkey.c > b/drivers/input/misc/da9063_onkey.c > index ce499c28a7b2..c338765e0ecd 100644 > --- a/drivers/input/misc/da9063_onkey.c > +++ b/drivers/input/misc/da9063_onkey.c > @@ -211,7 +211,6 @@ static int da9063_onkey_probe(struct platform_device > *pdev) > snprintf(onkey->phys, sizeof(onkey->phys), "%s/input0", > onkey->config->name); > onkey->input->phys =3D onkey->phys; > - onkey->input->dev.parent =3D &pdev->dev; >=20 > input_set_capability(onkey->input, EV_KEY, KEY_POWER); >=20 > -- > 2.43.0.195.gebba966016-goog >=20 >=20 > -- > Dmitry