From patchwork Thu Aug 4 15:10:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 1036072 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p74F9rF8027966 for ; Thu, 4 Aug 2011 15:09:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754821Ab1HDPJw (ORCPT ); Thu, 4 Aug 2011 11:09:52 -0400 Received: from na3sys009aog113.obsmtp.com ([74.125.149.209]:54459 "EHLO na3sys009aog113.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754611Ab1HDPJu (ORCPT ); Thu, 4 Aug 2011 11:09:50 -0400 Received: from mail-yw0-f54.google.com ([209.85.213.54]) (using TLSv1) by na3sys009aob113.postini.com ([74.125.148.12]) with SMTP ID DSNKTjq2PVTWC2jR1W2lxG5kdWD83rxgVD5v@postini.com; Thu, 04 Aug 2011 08:09:50 PDT Received: by mail-yw0-f54.google.com with SMTP id 39so1754267ywm.27 for ; Thu, 04 Aug 2011 08:09:49 -0700 (PDT) Received: by 10.142.248.5 with SMTP id v5mr869204wfh.393.1312470588952; Thu, 04 Aug 2011 08:09:48 -0700 (PDT) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net [24.19.7.36]) by mx.google.com with ESMTPS id k3sm2316150pbj.45.2011.08.04.08.09.47 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Aug 2011 08:09:48 -0700 (PDT) From: Kevin Hilman To: Ben Dooks , linux-omap@vger.kernel.org Cc: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Shubhrajyoti D Subject: [PATCH 3/2] I2C: OMAP: remove unused function pointers from pdata Date: Thu, 4 Aug 2011 08:10:22 -0700 Message-Id: <1312470622-30534-1-git-send-email-khilman@ti.com> X-Mailer: git-send-email 1.7.6 In-Reply-To: <1312469856-13276-1-git-send-email-khilman@ti.com> References: <1312469856-13276-1-git-send-email-khilman@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 04 Aug 2011 15:09:54 +0000 (UTC) Now that this driver is using runtime PM, there is no longer a need for the idle/enable/shutdown function pointers in pdata. Signed-off-by: Kevin Hilman --- Here's one more for the i2c-cleanup series include/linux/i2c-omap.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/include/linux/i2c-omap.h b/include/linux/i2c-omap.h index 56a9924..92a0dc7 100644 --- a/include/linux/i2c-omap.h +++ b/include/linux/i2c-omap.h @@ -35,9 +35,6 @@ struct omap_i2c_bus_platform_data { u32 rev; u32 flags; void (*set_mpu_wkup_lat)(struct device *dev, long set); - int (*device_enable) (struct platform_device *pdev); - int (*device_shutdown) (struct platform_device *pdev); - int (*device_idle) (struct platform_device *pdev); }; #endif