Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4615134yba; Wed, 10 Apr 2019 00:55:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmawsbaKENYgcHGXkqAfi6evD8DO120WVq55vA/8vOxLFISO816oODkyNogWs+EJy/Vmj2 X-Received: by 2002:a62:e213:: with SMTP id a19mr42456575pfi.85.1554882959463; Wed, 10 Apr 2019 00:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554882959; cv=none; d=google.com; s=arc-20160816; b=r/0nw6aqgD98AYjj3gahRP74Itq8P36oc68XhkEf47mPOxw0UIx6Gg5lg1B7iS13nV txS+m69MtR0UJhEo7iR3yDuoU1kf7X6G60VJuC6i32y7elu6Gs1c6YnFtBD3YzxGmJAj 7hBO4/crln6nTogHn5ynxEIfwyrmdpttpTWW9qMEKUKhytYSv+c8bLWIVyZwVVO5ezpm L6EdlOF1wBWwXX+8lefqn3/1BZVZIAXHlIpxPCIGfcLi9FP75XwuaXhyKos3BylO+Dt7 6qGg1X8N0bTt3BYaUq/xtEPvT1Kc2NSMQKGsDQBMaiBM55g9KZS/6ceXrhoPw7mFhU8o x/YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=N1kA72KZdm5preVXMxHIANrY6BUwOh4QoOKsYQ0D/2A=; b=JBgKZBXlTFrrPXQlg2cr4W1CvrY7ISkRq6vyFgf7HXT4LM16JyHq6p1Sxl55M/BGbO nwc66ofHzmnWfkfT9M80ZrTwKfDX8Q6/Um9flxRMoC4M+3beod6sLoNwwq7Gk1JBtSUz Jg2afWha4Os4htY30HuJmIJ4sha7ZoQsDr9GiDXcxkhO8YFiVQ0AxNV3z/rbzOTuATjh AbcNrjmt3TrfMoXMLYp64ZOgEI3xd0ARF1wF0jBbnfT4qp3fwHO5Y/fws060fSzQnqav NUIPR9yWXo5oXNs+dy1QcpCrVsC7uHRJPp4cN5uXHhsSaVukdGnk3H0XJSV/Eb6sk0OS 6dFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s83si31317165pgs.420.2019.04.10.00.55.41; Wed, 10 Apr 2019 00:55:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728813AbfDJHG3 (ORCPT + 99 others); Wed, 10 Apr 2019 03:06:29 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42833 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbfDJHG3 (ORCPT ); Wed, 10 Apr 2019 03:06:29 -0400 X-Originating-IP: 90.88.18.121 Received: from localhost (aaubervilliers-681-1-63-121.w90-88.abo.wanadoo.fr [90.88.18.121]) (Authenticated sender: maxime.ripard@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 7FB151C0010; Wed, 10 Apr 2019 07:06:26 +0000 (UTC) Date: Wed, 10 Apr 2019 09:06:25 +0200 From: Maxime Ripard To: Guenter Roeck Cc: Wim Van Sebroeck , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai Subject: Re: [PATCH 22/23] watchdog: sunxi_wdt: Use 'dev' instead of dereferencing it repeatedly Message-ID: <20190410070625.wybaix4pogbjhpzq@flea> References: <1554830641-9247-1-git-send-email-linux@roeck-us.net> <1554830641-9247-23-git-send-email-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="756b5ij5lgzy2uih" Content-Disposition: inline In-Reply-To: <1554830641-9247-23-git-send-email-linux@roeck-us.net> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --756b5ij5lgzy2uih Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 09, 2019 at 10:24:00AM -0700, Guenter Roeck wrote: > Introduce local variable 'struct device *dev' and use it instead of > dereferencing it repeatedly. > > The conversion was done automatically with coccinelle using the > following semantic patches. The semantic patches and the scripts > used to generate this commit log are available at > https://github.com/groeck/coccinelle-patches > > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Signed-off-by: Guenter Roeck Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --756b5ij5lgzy2uih Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXK2V8QAKCRDj7w1vZxhR xXoGAP0YRRrWUugA7N3pU9SJgPBm9e29WYNqD7vOixa4avt8wwEA06NOnPWdMtX0 sByc9EtiBplsCUSYRqe3VzkEHlrHaQM= =wS81 -----END PGP SIGNATURE----- --756b5ij5lgzy2uih--