From patchwork Tue Jun 11 12:53:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2703681 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 6134D40079 for ; Tue, 11 Jun 2013 12:59:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755266Ab3FKMzU (ORCPT ); Tue, 11 Jun 2013 08:55:20 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:64900 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720Ab3FKMzO (ORCPT ); Tue, 11 Jun 2013 08:55:14 -0400 Received: by mail-pd0-f170.google.com with SMTP id x11so2855223pdj.1 for ; Tue, 11 Jun 2013 05:55:14 -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:x-mailer:in-reply-to :references; bh=aXAMd9kAi0jZ34GM/9CbEc659EcZlU0FzT2WKKvS8MU=; b=Knlpszd8YrloMYWWFuAydDVytxOkBbto2O0cCNb3YQJIMGLycVRA5rW9K1Nhxns+vm PuT3hlCA4OL0xuFG6KwXvbF61NVoCJuYoa9e2Ev2IqY5vmCZzZUHpCM6+luYvGFekIyS tTqiqk2YGhZjrVqj2UokPqk/2g80kYSyDamNQ1D6cBJ22f5OQotZZNVimllB0itOkv5y +7xWy4N4BMe+MHnHRUx/2J18qHCOEBrKyg/5zRsnH5xGzAKGb42s+jLn3EBZe/byKBgd Y0vpbVlWXa0Fa9waOfPEmLIZzvFbRQVO6U6ZfImbNnpKoH5emqH+adwCKQ5vQuNx5NiC r5sg== X-Received: by 10.66.102.6 with SMTP id fk6mr19163404pab.184.1370955314282; Tue, 11 Jun 2013 05:55:14 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id wi6sm14599807pbc.22.2013.06.11.05.55.10 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 05:55:13 -0700 (PDT) From: Amit Daniel Kachhap To: linux-pm@vger.kernel.org, Zhang Rui , Eduardo Valentin Cc: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, Kukjin Kim , jonghwa3.lee@samsung.com Subject: [PATCH V5 17/30] thermal: exynos: Remove non DT based support Date: Tue, 11 Jun 2013 18:23:27 +0530 Message-Id: <1370955220-2949-18-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1370955220-2949-1-git-send-email-amit.daniel@samsung.com> References: <1370955220-2949-1-git-send-email-amit.daniel@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Recently non DT support from Exynos platform is removed and hence removing non DT support from the driver also. This will help in easy maintainence. Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/samsung/exynos_tmu.c | 17 +---------------- 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index acbd295..4356118 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -403,19 +403,6 @@ static const struct of_device_id exynos_tmu_match[] = { MODULE_DEVICE_TABLE(of, exynos_tmu_match); #endif -static struct platform_device_id exynos_tmu_driver_ids[] = { - { - .name = "exynos4210-tmu", - .driver_data = (kernel_ulong_t)EXYNOS4210_TMU_DRV_DATA, - }, - { - .name = "exynos5250-tmu", - .driver_data = (kernel_ulong_t)EXYNOS5250_TMU_DRV_DATA, - }, - { }, -}; -MODULE_DEVICE_TABLE(platform, exynos_tmu_driver_ids); - static inline struct exynos_tmu_platform_data *exynos_get_driver_data( struct platform_device *pdev) { @@ -428,8 +415,7 @@ static inline struct exynos_tmu_platform_data *exynos_get_driver_data( return (struct exynos_tmu_platform_data *) match->data; } #endif - return (struct exynos_tmu_platform_data *) - platform_get_device_id(pdev)->driver_data; + return NULL; } static int exynos_tmu_probe(struct platform_device *pdev) @@ -586,7 +572,6 @@ static struct platform_driver exynos_tmu_driver = { }, .probe = exynos_tmu_probe, .remove = exynos_tmu_remove, - .id_table = exynos_tmu_driver_ids, }; module_platform_driver(exynos_tmu_driver);