Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp683359pxb; Tue, 1 Feb 2022 08:17:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/IzhWyjJ5alzkQwPklHFm4ZFI4caseYgNEjVVDd/LoEWrYMoQoY9KE8JGNt35M1vfIE/r X-Received: by 2002:aa7:db02:: with SMTP id t2mr25687092eds.279.1643732268513; Tue, 01 Feb 2022 08:17:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643732268; cv=none; d=google.com; s=arc-20160816; b=n559OrPNeCWDpJjVkKZ0H3ztYRU8yr9eLFxl2UyxF+fCeUNN6H+fD6HFqv4UjFkL4A tLr5lmS/9iuZ8xayo8FoEQA1aBB2//CUvlNxzFt9KT97j2ii9yrlTGrJNO4wp1XRZqW4 apRF73DobpYHnoDNRARgix3ITOPzqHy8c2lsoQ6lfvppZWvu9Hb/DsxzgdUvDWctVyCR oCV+wZZb4k/xonzidUvxuWwG6ks1XoilhIb2RWzcLsAklTAdRKywB4avkNt2GFT4xbu+ RUn2cMc0GaKSYdSxlbXfjQm0JAkBtxMh0co3PpMpMMGO2UVCgEeLb04jQmsXWJCucQPR 7zkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=1LxMoGxnvs16zzdk3JQdyN+Uxz944Fqx8Dah0ipLXRo=; b=u1Juu0YAS+KicLpGar8HCJzucx9nxW33ayLLhYML585VF4cZPYsTTn/paBa4cyDIuq ByTA5i1OsP+tO88Z/zX9scOBDqa7l3fXTcBuVSyXWAVwHk4sYFf4AuOyuTYb/9BuUNDa pGS+7PB4lemvR71CX+wyNuY1uJc4Xuma/Du2+d7RZnJcztmVOH10T8HVTr3Eagpd95Zz 8Y9OD0W12AsYlrUlgO2lZp5u63HxOfjpzOolZ3+y8OMHgjmv0YyNi60vIaZ2HGKlu1uv oldyOhiRyPWi21dP8iesjCCquBceY77hruc6bwVzcx3jypui4WYkM2+CVjxMW0Cp7zE/ tz8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=glXKKufi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x20si9746339edi.445.2022.02.01.08.17.22; Tue, 01 Feb 2022 08:17:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=glXKKufi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358128AbiAaKXI (ORCPT + 99 others); Mon, 31 Jan 2022 05:23:08 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:57566 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1358119AbiAaKXC (ORCPT ); Mon, 31 Jan 2022 05:23:02 -0500 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20V8u3mh010749; Mon, 31 Jan 2022 04:22:50 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=1LxMoGxnvs16zzdk3JQdyN+Uxz944Fqx8Dah0ipLXRo=; b=glXKKufiBp/JxUJepJd5gEsY8EHQQAAdeRFhdMZbt12ytRN01tghxWQk92N4o0FKUw39 tsFUf7YZX0in4aSnoMvREX2TbDKcoTvI4PLbgPY6g0qbr1lmyuZZ3cqzc4OFl+Ccwd6w wVtKhed4RcFgOdXlh2VxvqdK5j64nNYMXX2HgijVe5MKUucG0xNux2dICSc/5CW4MVSB RMMFmK6vAx75gyq/jlUtDzOoBq+PRiF1isW+MLuDyyCmVLhwy73R3kWqb/vNAc4ranQD 4Y1sNTQFmp9c8T4AHg/dVxHLQeiwh8J0GvSnd5s0P39igEaVCLXZyB0CLbg9ZVgAk0/6 Mw== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3dw3v6agwv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 31 Jan 2022 04:22:50 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Mon, 31 Jan 2022 10:22:48 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2375.18 via Frontend Transport; Mon, 31 Jan 2022 10:22:48 +0000 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 8944CB0E; Mon, 31 Jan 2022 10:22:48 +0000 (UTC) Date: Mon, 31 Jan 2022 10:22:48 +0000 From: Charles Keepax To: Christophe JAILLET CC: Dmitry Torokhov , Charles Keepax , Robert Jarzmik , Mark Brown , , , , Subject: Re: [PATCH] Input: wm97xx: Simplify resource management Message-ID: <20220131102248.GX18506@ediswmail.ad.cirrus.com> References: <87dce7e80ea9b191843fa22415ca3aef5f3cc2e6.1643529968.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <87dce7e80ea9b191843fa22415ca3aef5f3cc2e6.1643529968.git.christophe.jaillet@wanadoo.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: Q45GjBQNoz-z6kcUdPSZxz0Ty83Mv4lK X-Proofpoint-ORIG-GUID: Q45GjBQNoz-z6kcUdPSZxz0Ty83Mv4lK X-Proofpoint-Spam-Reason: safe Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 30, 2022 at 09:06:36AM +0100, Christophe JAILLET wrote: > Since the commit in the Fixes tag below, 'wm->input_dev' is a managed > resource that doesn't need to be explicitly unregistered or freed (see > devm_input_allocate_device() documentation) > > So, remove some unless line of code to slightly simplify it. > > Fixes: c72f61e74073 ("Input: wm97xx: split out touchscreen registering") > Signed-off-by: Christophe JAILLET > --- Acked-by: Charles Keepax Thanks, Charles