Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6963839ybl; Wed, 15 Jan 2020 13:08:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzeZcO4DSMFso7q1K0mq8ue+TkPecllqpGLoMRnyP/ezZkcHvmWRpTZ7NCQcLRZFfa3C9f9 X-Received: by 2002:aca:4ec3:: with SMTP id c186mr1467213oib.53.1579122494527; Wed, 15 Jan 2020 13:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579122494; cv=none; d=google.com; s=arc-20160816; b=0rGH/6qJPVci8M/MwKfi2sG4qNhalCdTeaFPZcbL5j/E98ZDQhIIV4q9vCJ11TVKus gu7I3eVgXtFvYS39WOHHP4DwQR5n8o16pU7OezyopKa91uJHLpTKKBT524jZJCntBPv2 XcFYk0CCC455iXdQpzxlT+u94Fh+1W7vEOJ/JXYEXw/4SKANvx9xVHNTumybJOmIYGlq BxsWPu7xqsZnlukFDkeL5eYdE2AhQxAxRo1Ux/kfYgRVu5Jjvt5/31tB/czgMkLA5VTV o/t4Lkq9Qoa9NHZ3FcjkzLAVUWKdn4BBC78vRjGLB2B6NUtmermIoYEnpPIZoNAceTL0 uojA== 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=cR/I7g0KGhOsoNtNxctRakVaOxt6n7iQQ1C2x3laens=; b=zATLurXanDvkPDztb8Jq9N8fJ8r+F53odGzIW3QCU8Kfg4kSGIOxe3f/4bYdSaOvNu 9Bpr2Ovx1O/zyE2RRdG4e9OWNV8ziowqcOrUD558KI65TN84Y5sGqUxjjTKYaNwWd3Yk 6QjzQZJYfPgY4Tzhu1lTxgJ0SbtsUCDa7GSUYPxKet3Rj17UZEm+k2TQBdeZbzDiIBwb itxZai5UWskPjNb2b/nsyjjlyuctxbntbqLC2rvAEb9HC+X5Jbt9INzQ8SX4GRP5xzI7 /x96PqVQaJ/grmty/dNGB6kb4le6OUeNV4HVlQxp7oEudDRAywgc6WoGEjQ9B6pG1qC/ wy5g== 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 5si10000836oil.188.2020.01.15.13.08.02; Wed, 15 Jan 2020 13:08:14 -0800 (PST) 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 S1729585AbgAOT4Y (ORCPT + 99 others); Wed, 15 Jan 2020 14:56:24 -0500 Received: from sauhun.de ([88.99.104.3]:41034 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729025AbgAOT4Y (ORCPT ); Wed, 15 Jan 2020 14:56:24 -0500 Received: from localhost (p54B33239.dip0.t-ipconnect.de [84.179.50.57]) by pokefinder.org (Postfix) with ESMTPSA id 334D62C0742; Wed, 15 Jan 2020 20:56:22 +0100 (CET) Date: Wed, 15 Jan 2020 20:56:21 +0100 From: Wolfram Sang To: Jean Delvare Cc: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/12] i2c: taos-evm: convert to use i2c_new_client_device() Message-ID: <20200115195621.GB23789@ninjato> References: <20200107174748.9616-1-wsa+renesas@sang-engineering.com> <20200107174748.9616-7-wsa+renesas@sang-engineering.com> <20200108115822.20871d77@endymion> <20200109094228.2e058653@endymion> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QTprm0S8XgL7H0Dt" Content-Disposition: inline In-Reply-To: <20200109094228.2e058653@endymion> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --QTprm0S8XgL7H0Dt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > In my opinion -ENODEV should only be used for "I expected a device but > could not find it". For the case where we simply don't know what slave > device to instantiate, NULL seems more appropriate, as it's not an > error. Well, I copied the behaviour from driver core here. -ENODEV is the one errno where no messages will be displayed when returned from probe. So, I think we can keep it as is. --QTprm0S8XgL7H0Dt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl4fbmUACgkQFA3kzBSg KbZROxAAqc2hmKmkG203rrtIiUXGmbpTvszqf/43X9B9O1wXnGdxx1x6WSWTX4YB XxEdu03zUqg0uop2ISE3lb9QhS9de4X0WRGwg+U1y2jAwgDXs/ZPNC1tpkUsXl97 2k61rSY2Xzgit70Lul4Y5JpZ/xEtpx9FFMrREMCkzUz7D9xol5gtnX+nkiOVJnPn Pq7FN/Euvo3zpFHoDW5DFDsSM110d1KbSM1+gE8BxUrOpJVX1UHur8NQKcvMCMBL vc7bG+UsLZi3OJb58wpkgnSrFJaWhulcckjWTkPMnWeFy+0QZA5EJindpaSNE1sw 2X950JNs0I8SUO4BtyEJCCsHMnkibaU7Pa57WN6DtYM+DX7DX9I7goQSGHZ5mN9M 0zz6eMQZyk6qTab+lhk2n9yuIyBhjqE4OZoxKJ/kKDj0R8lxT35NLBpNxu52/g6v kfbJY1SkhwCeBo2aBmHZG0Hcj45Ef51RPZcYdyYSyEFzVBIpTUF8JbpvA1UcH08f 1BaIhlFQKNp3eadlq+/hsnyiKs1wsogvOFirDBm6D0JU0k4CSLuWGXtBIexbYiIO Dx6G9VmKa3w/7uNzXVOWSX5ukiWEUeH25/WnPkfrYZBy+bsbtPn5zyyv+6Z90eK9 mgNOgEbLxkrBrUligXqMGD5tdyufSH02hO7OkgxNGag9w726V7k= =kYJM -----END PGP SIGNATURE----- --QTprm0S8XgL7H0Dt--