Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2036310imm; Thu, 24 May 2018 04:55:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrUOYhgt8Cc0QkxFkRq9lXafh6+Irp+o9+Zd+boEVhMHwQE9yM9INMVuDOgZpXFdoZlQRmm X-Received: by 2002:a63:7344:: with SMTP id d4-v6mr5541507pgn.273.1527162916815; Thu, 24 May 2018 04:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527162916; cv=none; d=google.com; s=arc-20160816; b=kXGmjc/XVzt7DyFKtTsBGFJCeXahFJUH1wMLSMa6krf/eXLQIv+K70yy8mk4k/NZYV ujwnBkWOJy0QhJYrE4fHHHduLep7MBRPwz7GpFkX88adk0wLu+LFLn6m2SWudqfNUrIV U82zrIilZzFImp7sGJ7ukt2oL59TMqpPOZ+jR/xR40hoGw6rvqL8jbaedEv/AvCAteDR 8ylP1mMPPH09QhI9cEzUgPI2eRRzEA2b0E1mL3MkADew606bjoM0dJ49UCWdRhjIHR+1 oLXCsn9dms8Ym+RgDpWejUjeeStM6poQX0dOLa60+isRrkUMEM5KdVIjCKPYTSZvzCm5 Vp2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=mtChzPyoj+S4iSZsG8yT42f8hBcxyQkr0kNKakOCjJc=; b=nfYxocCFNFmVVgIAjwmXLDwrYCzrPGpdtSRe5ucUbXlceb6gyPfb2wm9Hp3SxZKG2f K0efOIOijHkohaouakgQOMhnOAMBqxHZItZTCXw4hBN1VH6dDOWeJ/0RgsgpfpeEF/jl XxjJj5NSeyps3kGksh66Mkdm/e/NR74NLHRuDjfuPScerJXxVqKZFXQ8WXks5FimZt+s cIcF9DPe++XFnTh6ng7L/QNTiAoXFCBX5HWicdJySKvjaO35m8qS6yBBE1ak0aYYfqE+ gLEGcrkoq/QrLg0i7eaZPMb3vqX0VQHEQJeRT6UIDlXhC0cKFR5PVCVVvW14+hkgs3Uh WW4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@axentia.se header.s=selector1 header.b=Lee4Gs/l; 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 g11-v6si5225324pgf.297.2018.05.24.04.55.02; Thu, 24 May 2018 04:55:16 -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; dkim=pass header.i=@axentia.se header.s=selector1 header.b=Lee4Gs/l; 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 S969407AbeEXLx4 (ORCPT + 99 others); Thu, 24 May 2018 07:53:56 -0400 Received: from mail-eopbgr00118.outbound.protection.outlook.com ([40.107.0.118]:4000 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966965AbeEXLxf (ORCPT ); Thu, 24 May 2018 07:53:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mtChzPyoj+S4iSZsG8yT42f8hBcxyQkr0kNKakOCjJc=; b=Lee4Gs/lDTapsrM4G0wV45TCpYfFu8Hq9yjSasUFtL6zn8R3LkKEsXFPakDNysDK6fnagdt4TAbomcRXeal8DSt2Kj945XcU3xzle8w28LGxdy2qMOxG2U8YBD+85xj0Xhd7d37PcI71Z3cpw3t9nze0I0YKaIeJgG5U8m+biLQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from [192.168.13.3] (85.226.244.23) by VI1PR0202MB2782.eurprd02.prod.outlook.com (2603:10a6:800:db::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.16; Thu, 24 May 2018 11:53:31 +0000 Subject: Re: [PATCH 1/3] i2c: mux: pca954x: merge calls to of_match_device and of_device_get_match_data To: Julia Lawall Cc: kernel-janitors@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Himanshu Jha References: <1526896150-27134-1-git-send-email-Julia.Lawall@lip6.fr> <1526896150-27134-2-git-send-email-Julia.Lawall@lip6.fr> From: Peter Rosin Organization: Axentia Technologies AB Message-ID: <7b1eed5f-a43b-b254-8f88-cfbe8bd04bf5@axentia.se> Date: Thu, 24 May 2018 13:53:28 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1526896150-27134-2-git-send-email-Julia.Lawall@lip6.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR0802CA0011.eurprd08.prod.outlook.com (2603:10a6:3:bd::21) To VI1PR0202MB2782.eurprd02.prod.outlook.com (2603:10a6:800:db::7) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);SRVR:VI1PR0202MB2782; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0202MB2782;3:bw2vYcbl0SZEx2V964jIpwJwBrIDP6AElZofTIlAcdley9TkVfKdIhF5BaqjqR1qlB+UytNrUXD0VoUNHi1K2tWmZwBdOqZoVfj1Zvnnf56iLZu0EqfA2kfJa4iOM0APlNrxIck5KCl5ibFAJa51j2DnW71O5lrmQ5xwEtF6jeJtDKV1zNUkgIi/r4aGagkgDfMgCXj0xGQEqAjbDwAwshDL61JNw2iDo1JG3NBQCnWZQyjLj9UfbZtG/MOQKnsR;25:+y2dtYJngEKrXIR2VYb/yALsTB6+jKS14S89SkRaeGjgZSZS0YOXMPe8Q6L/O6ggEYqkeoChj5/9yogETjG1/OdfP+IOwkhPXEsEtJX53/nmjVufEDx5ZBN/ae5WFeRTzBBLdPVd9tKPoRzt7+O3tTQ88gQWKRy7vbFIgNpj9xwv+fr/YI16mEWa8MkQhJ3g15O+a78HyilZFrejylTXwse82vjaLW8/uNQNT4NEY95RMn63UjFlrwh79gwr/ie0vY8brz6UqK6T/SEkEwXrHZB+YiBYGyjlHFV6XnycRINHEnJ2+Fx5jzLPhTPiDDm/4cE85E3sO9kD/BJO3Hx2Ow==;31:bRZNnDs1aPVo0cBy/UAULZxg0CAa8YZGnUWsZiLxSbR8/5rHpDHWFRGS6L7uRq0l1FimgkyBW4bpDStKy77goYJao5tmTjjDlCISKI175ns/gdhNoIHe9Le4btvUkj8+yl0N5pNns/Tk5z1ZiGCiQhU8/q5eix5PLEM6sqgzLPQCZvkjVRDfCOuG8sMERuUcuDsxu+1u1izDUPMz2z+2zN029AbOeTKlsL9v33UoP2Y= X-MS-TrafficTypeDiagnostic: VI1PR0202MB2782: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(2016111802025)(20161123560045)(20161123562045)(6072148)(6043046)(201708071742011)(7699016);SRVR:VI1PR0202MB2782;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0202MB2782; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0202MB2782;4:rdfJcRRvMJs+hVSMZunoFliokyHT4bZlsSGTHpYBcW4yDniAUKt4vmlquwmqxYk7NJ7Q9sEj0oI4xScTBwleT/LPormMMnA3ihqcFH0H7jfs/nLI4oPh24jBDfkQwiF1U7CAVpwp5i1XlL9QoORvvTnfLiA1+Flkwb1d78TNbw/5O3CSp1L4+XMjfOs2bbM6rm/7ODe5Ju2SP7afGK81p+bFX9zqFxFeX0RlZJCT6B/TvibUK5sGHhUsmX4dzh0NyMgI2bKRgioYrLwr5/ErTQ== X-Forefront-PRVS: 0682FC00E8 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(366004)(39380400002)(376002)(396003)(39830400003)(346002)(377424004)(199004)(189003)(25786009)(229853002)(8936002)(58126008)(305945005)(86362001)(7736002)(31686004)(16576012)(6486002)(2486003)(59450400001)(52116002)(36916002)(52146003)(76176011)(31696002)(16526019)(81156014)(26005)(105586002)(386003)(186003)(316002)(77096007)(23676004)(81166006)(65806001)(53546011)(106356001)(65956001)(50466002)(47776003)(66066001)(8676002)(74482002)(6116002)(117156002)(68736007)(478600001)(956004)(486006)(97736004)(3260700006)(3846002)(476003)(230700001)(6246003)(446003)(65826007)(4326008)(11346002)(558084003)(2616005)(39060400002)(64126003)(36756003)(6916009)(2906002)(53936002)(6666003)(5660300001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0202MB2782;H:[192.168.13.3];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjAyMDJNQjI3ODI7MjM6elZTQXpRSE5yaWZRQjF4Y21PVVNjbmVB?= =?utf-8?B?QXg0em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IkcKpGTF/sF0U8H66jQ3eKg0h6lqUccar+COatQ3l0y8tari0VZgAgx1VWDiaFEvodDB7i1AzwswtNjtdKNI6+BcUeMfFhYA==;5:MZzUoRyDjzUatwg+EXlQx31AbhFqd1TBtrZeLffB5f2FYSzUpwdB9lB1S/49d6tqPsBALy5f9N462K1F7ZvIwX2SQdJBH1Rq5HbIqBfTe9sJKZgMO5m4pNaYfBLNnCHPZmthYh4qQRvgi4iuHsWlvQVY+ryTBgVcKA4OJmfNHM4=;24:PRkYINGeKFzavKoErjo4toA5rt2FRNzHU9Q4uhCEyPx0aOZYzUsERIq30eXVwvMoirH9/EJMaTM+PaGZsqdMcV5YczpQRUaz/qAGX26Rfd0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;VI1PR0202MB2782;7:FJEbo6VJsYw8GeC9JdRlgk7LV9V3TIqWIdZl+7igYjygc1lcnENZ+DcEZhHFL0bDbpYg2GtC1JA4gzIT7u60rnn5UGpI8sKv9KozywVG2ENDuSO/0D9n+2JcmupsoAN6Ooc9X7NeAIKjfqA6HKXc1SVmGjOwtVhc02zNbSIJOLK7SazMfvQHXFHE7QsMrl9yHdb514cTJv+C5x+Rny3gPyBrpnGEpe4WP1Ec854VO5WqnMLzkzDXsgxZdktdW4db X-MS-Office365-Filtering-Correlation-Id: d3a84a1e-f2e1-461e-64f7-08d5c16cf90c X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2018 11:53:31.7385 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3a84a1e-f2e1-461e-64f7-08d5c16cf90c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0202MB2782 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-05-21 11:49, Julia Lawall wrote: > Drop call to of_match_device, which is subsumed by the subsequent > call to of_device_get_match_data. The code becomes simpler, and a > temporary variable can be dropped. Thanks for your patch! Applied to i2c-mux/for-next Cheers, Peter