Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp367544ybx; Wed, 6 Nov 2019 01:52:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwQ92+Xm4Epho7EWxlpnGLhNGlWI1UgZZfr23vi2icDdy0pp/zQKEDLV+aF/mtPSO+PHqv4 X-Received: by 2002:a05:6402:8cb:: with SMTP id d11mr1564614edz.303.1573033940480; Wed, 06 Nov 2019 01:52:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573033940; cv=none; d=google.com; s=arc-20160816; b=csCv4cSlljGJ9dCTsgBmGeXPQDntxILoN4dK7yYN9ZdBb6s+k4lsGGgyXAXoeLQ5LM NkIUtbZwEYEmegHCEvxqdlrqImlm0zp4vztfBXbZd72ReGQH8VsuBxwEqyEEV9g4npr9 Skh3XeaDhJEcGHlsjV7Mm9xqwcLZP62gl0MJ/oR8FRul+97bsKmT7jMby5QOuqlWDJLU mq1+jHkCKyGZwS1zzmgm5GLgjtY1bs2h7Plq8FjGcVNggCKXwk83LpimoHI1S+WJ9L4X uzvl53Z0QnLRTwlClBqKuQI3mjW+rqOiN1U5MACQIjxAF9YCSlZYtPMEr2QWXwK3QN4H CJvg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=44il2uuES0Q7M1zc1ThyFU2WGvC9Zz7soWlcnVGwmAE=; b=NcbVcVeJFCdl+dr9nnzIxNt1MG437QMrCRdkMH8vHBHcx47oLk5pSY7oSPGL/aZtPs 1WK1OcAstL7SMP9XS8x6rP5bKRPgUMfQZemOiXmELzjhXVg3urjKYx0tm2TNHM4jS2Vf VVTh2oVlUwamhH9Rze9sIOX7pjkgYqTBtW1AGb7qBw3AZZic8zPJGGT+ZjKYLJs/nPGV c0ygCOgJrJcLnnY+c/QWtRUkMwVSFpI7D0+iXPhAj//0ZHgx63fS7sKo7aE/tOLPq629 GDGI6F3xPFW5Hpj4ZmZKZf27Zhm6vOZF1coD/xzFrYE9DhBjaY54gzra1tC5EOJUNaLt NNEg== 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 b47si12259801edc.129.2019.11.06.01.51.57; Wed, 06 Nov 2019 01:52:20 -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 S1731801AbfKFJvD (ORCPT + 99 others); Wed, 6 Nov 2019 04:51:03 -0500 Received: from sauhun.de ([88.99.104.3]:50228 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731672AbfKFJuj (ORCPT ); Wed, 6 Nov 2019 04:50:39 -0500 Received: from localhost (p54B33505.dip0.t-ipconnect.de [84.179.53.5]) by pokefinder.org (Postfix) with ESMTPSA id 1C18E2C054E; Wed, 6 Nov 2019 10:50:38 +0100 (CET) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 08/12] media: pci: cx88: convert to i2c_new_scanned_device Date: Wed, 6 Nov 2019 10:50:26 +0100 Message-Id: <20191106095033.25182-9-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191106095033.25182-1-wsa+renesas@sang-engineering.com> References: <20191106095033.25182-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move from the deprecated i2c_new_probed_device() to the new i2c_new_scanned_device(). Make use of the new ERRPTR if suitable. Signed-off-by: Wolfram Sang --- Build tested only. RFC, please comment and/or ack, but don't apply yet. drivers/media/pci/cx88/cx88-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx88/cx88-input.c b/drivers/media/pci/cx88/cx88-input.c index 589f52d961eb..c7c2acd55266 100644 --- a/drivers/media/pci/cx88/cx88-input.c +++ b/drivers/media/pci/cx88/cx88-input.c @@ -613,7 +613,7 @@ void cx88_i2c_init_ir(struct cx88_core *core) } /* - * We can't call i2c_new_probed_device() because it uses + * We can't call i2c_new_scanned_device() because it uses * quick writes for probing and at least some RC receiver * devices only reply to reads. * Also, Hauppauge XVR needs to be specified, as address 0x71 -- 2.20.1