From patchwork Tue Jun 3 09:00:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4286061 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1F7839F1D6 for ; Tue, 3 Jun 2014 09:03:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5488C20254 for ; Tue, 3 Jun 2014 09:03:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 103002024D for ; Tue, 3 Jun 2014 09:03:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751058AbaFCJDB (ORCPT ); Tue, 3 Jun 2014 05:03:01 -0400 Received: from mail-pb0-f67.google.com ([209.85.160.67]:40700 "EHLO mail-pb0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750767AbaFCJC6 (ORCPT ); Tue, 3 Jun 2014 05:02:58 -0400 Received: by mail-pb0-f67.google.com with SMTP id ma3so2638362pbc.2 for ; Tue, 03 Jun 2014 02:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=a7SsfJ4h0DJBuxooKuE6pSjiplVUshGGMJXSXu0uYzw=; b=FC8eROx3b6NHyznygfRIuNdrUWmgbLtQzNUoliG9nHnaiSmE5mGhBMQ2QHaxbYWdC7 f0VNjWO4lO1o/3ezMYUoaRUsJ3Wgk+H9oC7H5PEx9CGmQ7DQBdMY5aE67BYk5amdw9LJ BYnNJ5RV3BrxjqKPdLTvlXXA2Gsv/PhOfc0PB80yzitpWVXpMVoTZHN3Sjy/FJ/zC8k2 XSV8y1mdRE5wcEmkWJcneB0C6mxNVcnVKQip+tYgUsMV/cjC9hzuhQtUew6biGheLd85 /j/P9sz2Bheni/ALhzhpRd+9MqlX5KcsVQgVKKVL/kM7kbezPCmRUymF2W+Pu+R7Vain B/rg== X-Received: by 10.68.249.2 with SMTP id yq2mr48106239pbc.70.1401786177918; Tue, 03 Jun 2014 02:02:57 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id op3sm25320779pbc.40.2014.06.03.02.02.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Jun 2014 02:02:56 -0700 (PDT) From: Sachin Kamat To: linux-i2c@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, wsa@the-dreams.de, kgene.kim@samsung.com, ch.naveen@samsung.com, spk.linux@gmail.com, Olof Johansson Subject: [PATCH 1/1] i2c: s3c2410: Remove class based instantiation Date: Tue, 3 Jun 2014 14:30:22 +0530 Message-Id: <1401786022-29587-1-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With multiplatform support enabled for Exynos, class based instantiation causes a boot time delay due to I2C_CLASS_HWMON triggered probe. Since class based instantiation has been deprecated since some time now, remove it for Samsung I2C driver. Signed-off-by: Sachin Kamat Cc: Olof Johansson --- drivers/i2c/busses/i2c-s3c2410.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index bb3a9964f7e0..6f1706cdd9ba 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -1135,7 +1135,6 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev) i2c->adap.owner = THIS_MODULE; i2c->adap.algo = &s3c24xx_i2c_algorithm; i2c->adap.retries = 2; - i2c->adap.class = I2C_CLASS_HWMON | I2C_CLASS_SPD | I2C_CLASS_DEPRECATED; i2c->tx_setup = 50; init_waitqueue_head(&i2c->wait);