Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp130677rdh; Wed, 20 Dec 2023 19:14:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTTe+KzemXiutdl/1fFWdYTPV7LzdLnyx2tbyz560fhPYTOqNr+dCD7X0ZyqsX1tlvGWqa X-Received: by 2002:a05:6870:55cb:b0:1fb:75b:2fde with SMTP id qk11-20020a05687055cb00b001fb075b2fdemr926624oac.117.1703128450492; Wed, 20 Dec 2023 19:14:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703128450; cv=none; d=google.com; s=arc-20160816; b=wiAvMihxQU2aWe7A+HGGQkl0UnDceqLiphlweUWOfsXmZo++su4XCkYt2VA0Jhs9MH WukNJf24bCS8Rdu5EspbnxJAo4A+OeKGSpkJE2dXn33qFzOw1Lv5KOrA5hsJBEG1rFJW QyNUyK6wk32pBbefG8zABganALVboJZCQUDu5ZKuOjHGBt5IzNRR1B7D1Jdn0+tJNoXK ZYhwTLRC9ppPbgn5LroBC089g/W9giEaS89ODFsfvzoJPItNlILCPKkGBXnrjwC37alt ByUo8sIqzrgvKMcuHIUAwvXDSjYKAq86Kw75dOAQHe9L/dK8XykvUgDZIJi1QZXQLUau KK3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=SEgF2ZhQjQOKtPApvRdmEAY0ycPOACRB4YXgq2azI0w=; fh=w3qQrKNRLkxcUwqAm4O28fihqOyRtbbpndutb4X1BA4=; b=AfAAyzRx189gR3C0EwRgn+v48Ky5blKbBzG01UjN+8bF2/YAI+Y46/NgqqDAmutzJB yWEu0ge9P9o/0oHJwPINkCYz+Zixdr2op4NmB9IWKxRBPUFM9W3P6YRyINUo0HkB3BeA VUIpsFM3CLklZsBevzSjxcBqwhdJmcEumQNJL0+44KAfMtbrpbjPHkxp9kY8HSJ+HApX 78iKvsbt0NeTQK2bgGDykF6E9G1fRNMxOF0AbOfJIW17o5swJxugxy3nd64JFVEW1Sg7 4+DTGYiwt+V1CWiKLWClx4tE7+RTCTaSTWcSNt6N/nyXdkwl0humuwSUsrQRx+jjXJlb qb9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=M0656Vdf; spf=pass (google.com: domain of linux-kernel+bounces-7790-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7790-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a3-20020a654183000000b005cde84340a9si35117pgq.355.2023.12.20.19.14.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:14:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7790-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=M0656Vdf; spf=pass (google.com: domain of linux-kernel+bounces-7790-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7790-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 45F91282B0A for ; Thu, 21 Dec 2023 03:13:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40D54AD51; Thu, 21 Dec 2023 03:09:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M0656Vdf" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A18E4427; Thu, 21 Dec 2023 03:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1d3eae5c1d7so2359695ad.2; Wed, 20 Dec 2023 19:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703128188; x=1703732988; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=SEgF2ZhQjQOKtPApvRdmEAY0ycPOACRB4YXgq2azI0w=; b=M0656Vdf2IXrBqGxE/FSAqQr+t8qlb9ws4wDm3l4iKK3zJ3z952AMQPwxgO+l+wJ7G 6/YwvWc8zJQUA92o08ATAdGRObbFJPmbDuGDGB40nlPdM0E40LOB6mlxRSC6K9CCGR5K STIVYj48ZqUxak4EKRH7cuLVb0CJdbCB9KxYjoB5EobuLmEuSSrAYk0jQLp8cT2Lbvu2 rjv4lFhWnNIaDhf8FIX+/2Id8+p9rXofIzDuxsR4hND0WbuvKiBQM0w4QxOxZE3rFk8o XnueDt0s7593GS/FLybueDx+5VHXiNll7F7a+nU6PZkKnIvR6OrvE6bH1cBVEv0ieVfF 9BCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703128188; x=1703732988; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SEgF2ZhQjQOKtPApvRdmEAY0ycPOACRB4YXgq2azI0w=; b=V7m9m6wy829sq6ogqILEq5n1Qo32rCfYPJOho2JGg0LNp7/8xFOqk1xFhCzF9b3X7O 4j1KFVVqWyk6P+jKcUCcmHs+nNdi6mMua9va6VRshvEvwYoeOKV72oIz2f3pAOxIDUK5 3M+r4UU89Yc0WmRXQgGS8UQEHq8QZutVgWWk+7ye6D0bwg2qt8uVtjzWKKn87M3DsqFJ 5t9Kfk76XWUv49W6tnFdDP7DDgOfB4vlqgpYkZfhv7bT5uEkTohhqI3uyshDP9XJ78T0 bTQczqP1O/WU/9N0N2RC6FJWIzgujKeYYdqyCpIwzSJvJE+TJzxEUkvU53PTXCq8rFzM L1rA== X-Gm-Message-State: AOJu0YzElWWEzJ0xv9p0RMFkM82FlFmFE55RCKPXaqHpXccjG8dE4oXD rb3wm68ehZ3xH48cTmVfHwI= X-Received: by 2002:a17:902:b60f:b0:1d0:711b:c926 with SMTP id b15-20020a170902b60f00b001d0711bc926mr11313301pls.110.1703128188252; Wed, 20 Dec 2023 19:09:48 -0800 (PST) Received: from google.com ([2620:15c:9d:2:9d7:3461:3155:35d4]) by smtp.gmail.com with ESMTPSA id e12-20020a170902b78c00b001bb750189desm434145pls.255.2023.12.20.19.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:09:48 -0800 (PST) Date: Wed, 20 Dec 2023 19:09:45 -0800 From: Dmitry Torokhov 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 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline devm_input_allocate_device() already sets parent of the new input device, there's no need to set it up explicitly. Signed-off-by: Dmitry Torokhov --- drivers/input/misc/da9063_onkey.c | 1 - 1 file changed, 1 deletion(-) 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 = onkey->phys; - onkey->input->dev.parent = &pdev->dev; input_set_capability(onkey->input, EV_KEY, KEY_POWER); -- 2.43.0.195.gebba966016-goog -- Dmitry