Received: by 10.192.165.148 with SMTP id m20csp1820662imm; Sat, 28 Apr 2018 06:13:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoAWjpnNNWuF1/dlueI+jt/djcZTHfb3wFGWeqsgnMwoGMiqfFPDUZvjGOGoOniYFVLTFLs X-Received: by 10.167.133.71 with SMTP id y7mr5817167pfn.210.1524921234520; Sat, 28 Apr 2018 06:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524921234; cv=none; d=google.com; s=arc-20160816; b=tfFRo1U5gXklynKIp2Kx3CZ2cZ32ExLF8ktWMlrggjS3Guxs+VgWXVPOPxxB1/PejO iwQ6Pbp8lvA2cIW067Q6w4zqjQ7XcHbH80/gZOw18iqR6OJTvwJYQv3M+xMtl77c/akp e0fwUAdVAic0nG4aRPgLMSRn/xPBnKeTEcCZ06yui5VCgH1uev7O2+f4/7PMNA0G4+xm 2uvzjeJmKJVDL3grxXP5jxAtLyaQVyfCahJLvgyXGMP+ZHin37EB+DSnOTTJyL/X5oeA jG4cWyoecLrGH2dprJmsGlUiCjmsSnhDK2wcF3bk0EMRtgpROWa5yZQh6YXInCr6LaWa MOQg== 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:arc-authentication-results; bh=ySOM/T5i+a8+8WcA3igzBdeRvLxMmuHJ7EFvXOnk1mI=; b=pKNsFL8Ba2PTGfdgy1X8BOqHNUrrAwGAWymQzAAzylm82fMmCA07i1Z6UXkrExiP6w Si3Hnhia2H7inIMXt6MB7EGdyfDwOovMbzVoCBFxYaMQlcLWFC7S+of1cR3F/mSEcWwM IH5bNgnKRh6t6eR4CBD62KwHLAo7+Rjn8yV5avJHPHvaCgoQBlqH5xd5UO+TjmOHT93F ivhK/v4AO85NKDsYw9mTSJBbDxVAGZwCt0Y+a1Lijef3regYOGVHPtqmXWiVcaPtV4P2 Ov21atr8EgqZh7Ej+88x46/2WAphOyukeRbNjhn84waYtjFRldKC6VuydugZ3ulPkNKE nXbg== 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 ay10-v6si1600461plb.120.2018.04.28.06.13.39; Sat, 28 Apr 2018 06:13:54 -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 S933535AbeD1NMa (ORCPT + 99 others); Sat, 28 Apr 2018 09:12:30 -0400 Received: from sauhun.de ([88.99.104.3]:57820 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933450AbeD1NM3 (ORCPT ); Sat, 28 Apr 2018 09:12:29 -0400 Received: from localhost (p54B33D0E.dip0.t-ipconnect.de [84.179.61.14]) by pokefinder.org (Postfix) with ESMTPSA id 097A832475C; Sat, 28 Apr 2018 15:12:27 +0200 (CEST) Date: Sat, 28 Apr 2018 15:12:27 +0200 From: Wolfram Sang To: Ryder Lee Cc: Jun Gao , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] i2c: mediatek: use of_device_get_match_data() Message-ID: <20180428131227.u7cuvdhuo3dahsdt@ninjato> References: <31f944ab8dfcc1d7b6f03b35657a2a34825b5246.1523347340.git.ryder.lee@mediatek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="elwt6h2lmsgibred" Content-Disposition: inline In-Reply-To: <31f944ab8dfcc1d7b6f03b35657a2a34825b5246.1523347340.git.ryder.lee@mediatek.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --elwt6h2lmsgibred Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 16, 2018 at 10:32:52AM +0800, Ryder Lee wrote: > The usage of of_device_get_match_data() reduce the code size a bit. >=20 > Also, the only way to call mtk_i2c_probe() is to match an entry in > mtk_i2c_of_match[], so of_id cannot be NULL. >=20 > Signed-off-by: Ryder Lee Applied to for-next, thanks! Does somebody from Mediatek maybe want to maintain this driver? --elwt6h2lmsgibred Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlrkczcACgkQFA3kzBSg KbbwoQ/+KCYGO5O5SkhaWxtb6akUXQgTnvnsoBHa66kJugWnzMyHIVwxCS6hBhRw qMtiZ2kiaoQfg+2JNhr2va1a7k+sQBV7xNjMkVJjKwvXEiYsFqOjSMOkf9q+8nAZ eTegPYX4f4lcdW5ObBP0GlekMywa29/I7VjfqjPjL462XeCp38aO3dATUomuZcmz 770Ndja8cEfzO/PCulmGvF9ca/nC8Z1edsxo9YWcWL9+ylGMEfHdByk7njBrmVL1 4nGkPhLq3sRssrjXKxiHT3S6QcJVSwJAd+zU7vq/kBm16ddpQEacAyeCGghr9RUt Kttd1THKLeYdYoamim/I//9UCNZG8eiuQxYNQbYIu1III3QYoxh6hpIqcUS8rene o9mKokCxLjEfD8ukzorO/+MbXfFdkUHbQUcnUkYrHGitDpg4fCILFovf9DNJWuO4 +F9PijySeWCD3sEQ/xZR/zm5dVcUe/N4K4p5QIZZSq+ZFFrcbooMSN4JmceUn/E1 wexz+hBVcsa3h2S6CspDWt7yCZIRoRRiB2TBQo4NswaUX60okf8A+4mpu6ndqFau x8FOOk6INLThEvLDxjfuAgxw98piC944eWx3T6oLnT3qz6m+lNKynWOgIhWR2b2w QBF+IcqJJFowGzu3hlwcCk2ET5ha2j0PAj78iPZfUUxS8OSlSDM= =9Ftn -----END PGP SIGNATURE----- --elwt6h2lmsgibred--