Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1427767ybn; Wed, 25 Sep 2019 18:19:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy0PAtRh+/XV7rMOIqcUaw0xzScHK1Y/z3VoJ19UuUiSOi4koERQ5QbVzyi+3IwUM/hWlA X-Received: by 2002:aa7:c4d0:: with SMTP id p16mr975907edr.266.1569460744267; Wed, 25 Sep 2019 18:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569460744; cv=none; d=google.com; s=arc-20160816; b=TQ3ZUfBjsU36qOob1T8UagXg3kwI4P4tc+EIE+BlUYWQP/JwAM8IA2+02q3U794Wwl NKdHa1FW7aVqjyUwWK7M0U+4kpoO0t4LWyuZlGWLtCtSaWjQO7hcLr4qDUmyLmcFba/i cqATnLb0LWtVmeBy+36A9kOywYmQOxStWsfXaa3+9+XF7Ap8yFVQ9rrWlqh5EJA7l9fQ MY2l/rfpPqu8dFiA+bt1RexlH5gi2GjDN3dAUDSlIJUfcNS4gPGPe2rHSlBDufdAYvDB t6/LMIw9EIR+IL75oI8XuPzJcGfdJsvD3PzfNDWIWdbSfi1ocrlHViOk4J2AGHAXnBT9 d73w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=RozReDSjVHGoLoobJpuIzdZZ6/NI4WqRwT3XoIZEG0k=; b=B/0OYDVw3bla1nFVNZr8LlKl7xGFxKDo94VwT2bFqqHMnoUxdJza54sSV/iqfQA955 puf4R9U07/GpVGvuKbguhYaHfwYH8lWHFqRQQdE1ciU/wAZ7CDek7qQT1L13yZEl7yy/ MVE5UqeqzT8ufkw55aXmSpSI8M3hgAjmoJaRkzccC0i7ANs9RQLvLoDCoirOm//uUvbV LyhNqTxLEL0SYsLTL7dPEBgMgO6AdCqEX8UCJ6BwDDc4i7tRlSQCI5Nap8boZ9XhBgRI /PI4N8DfndSL4r7qZV7G8K6jIndFxzc+H3DMiQ4OO05NFjk3+WfjE+73ujc+0w3rrk0m 8Kew== 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 d24si417360ede.119.2019.09.25.18.18.40; Wed, 25 Sep 2019 18:19:04 -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 S2409544AbfIXKnj (ORCPT + 99 others); Tue, 24 Sep 2019 06:43:39 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:53354 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409537AbfIXKnj (ORCPT ); Tue, 24 Sep 2019 06:43:39 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-116-9Hi8Jc8kPpqqOwcPCfmVPQ-1; Tue, 24 Sep 2019 11:43:36 +0100 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 24 Sep 2019 11:43:35 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Tue, 24 Sep 2019 11:43:35 +0100 From: David Laight To: 'Anson Huang' , "thierry.reding@gmail.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-pwm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: RE: [PATCH] pwm: pwm-imx27: Use 'dev' instead of dereferencing it repeatedly Thread-Topic: [PATCH] pwm: pwm-imx27: Use 'dev' instead of dereferencing it repeatedly Thread-Index: AQHVcra7p8HS4HCHSk+GwFkUo51L56c6k17Q///1BACAABgw0A== Date: Tue, 24 Sep 2019 10:43:35 +0000 Message-ID: <37b2481ac9094f27bf21325e2770abdb@AcuMS.aculab.com> References: <1569315593-769-1-git-send-email-Anson.Huang@nxp.com> <6cfb1595992b46dc884731555e6f0334@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-MC-Unique: 9Hi8Jc8kPpqqOwcPCfmVPQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQW5zb24gSHVhbmcNCj4gU2VudDogMjQgU2VwdGVtYmVyIDIwMTkgMTE6MDMNCj4gSGks IERhdmlkDQo+IA0KPiA+IFN1YmplY3Q6IFJFOiBbUEFUQ0hdIHB3bTogcHdtLWlteDI3OiBVc2Ug J2RldicgaW5zdGVhZCBvZiBkZXJlZmVyZW5jaW5nIGl0DQo+ID4gcmVwZWF0ZWRseQ0KPiA+DQo+ ID4gRnJvbTogQW5zb24gSHVhbmcNCj4gPiA+IFNlbnQ6IDI0IFNlcHRlbWJlciAyMDE5IDEwOjAw DQo+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