Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2377131pja; Thu, 26 Mar 2020 14:14:13 -0700 (PDT) X-Google-Smtp-Source: ADFU+vue5nTMEB5E13dL7D7o44Im4Biiej2PKLtOk16YXFtXF4oGaTy20eBlVKkDiNJcSyxhalYf X-Received: by 2002:aca:ec49:: with SMTP id k70mr1853090oih.80.1585257252641; Thu, 26 Mar 2020 14:14:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585257252; cv=none; d=google.com; s=arc-20160816; b=CzwvAXE153i+gTJJcRaeBR5G0dRkR4IKOo1t5Og+zThuuwkdQ3xWSZrpc+/5/5m6ns 9vgdrwmCtYYurkWgYWArLgibezU0a/XUHx3VreQ9A4Y3A8rYr3//sb3qsAZYfYfOHIAN vBZs/DZLwpPppGaPYftJMreVXRhB9pcwSPSZsrYjqW68IpFlxufCLzsXHzZ5TPf2SU6n Y8GqjDxwY2mbFuC5WDAJqB4BpQcsrn0c6quH1slhKYLFLEcscZPhIQUTewajXbrcMCLb jc8l3RexVzXCp9eeBxYMQddh3ssF+2It58OdofoFo/8gk7NektNYIgosXPBoQoDfj8D9 Fw+w== 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=NyvAXbK1ysfbOBFdwvSIdlDbAKl5qO5SQijrCcMBzgI=; b=FY1a3VnBpR2Z7TWYGl76I86SWq0i3fFulYeVwRSyrxaQO5h9AELzQRKg0cQsro95Pn CPm9Z0msR3osu6uCRXlEZkMEXn+Je7M0e43gPSqB1/MvkfuBaiGZSnbyw+0IYtcU7T9K F3UcqNvc2PjYxDBzhx32pByspvEICmuDAtT8JnI0MCHQ7u1AV+I07sPsbRdHslyvRVc1 KSwxTs/j8vEhGNBMXbhUxGsmkgalYTEPfopphqEyTQwW9bbfP75Cre7JK5ldy0RcYS+I MJzHfyS45wqL24cddv9tX21ZbjaKjoUvT4JeYxjs8wjmcsU8H+dMPLwRJodyWJuZMDzV qrpA== 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 b68si1560506oii.117.2020.03.26.14.13.59; Thu, 26 Mar 2020 14:14:12 -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 S1727835AbgCZVJ7 (ORCPT + 99 others); Thu, 26 Mar 2020 17:09:59 -0400 Received: from sauhun.de ([88.99.104.3]:54354 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727738AbgCZVJz (ORCPT ); Thu, 26 Mar 2020 17:09:55 -0400 Received: from localhost (p54B3331F.dip0.t-ipconnect.de [84.179.51.31]) by pokefinder.org (Postfix) with ESMTPSA id 411F72C1F88; Thu, 26 Mar 2020 22:09:53 +0100 (CET) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Benson Leung , Enric Balletbo i Serra , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] platform/chrome: chromeos_laptop: make I2C API conversion complete Date: Thu, 26 Mar 2020 22:09:51 +0100 Message-Id: <20200326210952.12857-2-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200326210952.12857-1-wsa+renesas@sang-engineering.com> References: <20200326210952.12857-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 When converting to i2c_new_scanned_device(), it was overlooked that a conversion to i2c_new_client_device() was also needed. Fix it. Fixes: c82ebf1bf738 ("platform/chrome: chromeos_laptop: Convert to i2c_new_scanned_device") Signed-off-by: Wolfram Sang --- drivers/platform/chrome/chromeos_laptop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c index 4f3651fcd9fe..472a03daa869 100644 --- a/drivers/platform/chrome/chromeos_laptop.c +++ b/drivers/platform/chrome/chromeos_laptop.c @@ -103,7 +103,7 @@ chromes_laptop_instantiate_i2c_device(struct i2c_adapter *adapter, pr_debug("%d-%02x is probed at %02x\n", adapter->nr, info->addr, dummy->addr); i2c_unregister_device(dummy); - client = i2c_new_device(adapter, info); + client = i2c_new_client_device(adapter, info); } } -- 2.20.1