From patchwork Mon Apr 29 16:55:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinath Mannam X-Patchwork-Id: 10922101 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0D86D1395 for ; Mon, 29 Apr 2019 16:55:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F200E2884F for ; Mon, 29 Apr 2019 16:55:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E523328869; Mon, 29 Apr 2019 16:55:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F9A42885F for ; Mon, 29 Apr 2019 16:55:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728823AbfD2Qzr (ORCPT ); Mon, 29 Apr 2019 12:55:47 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:46241 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728748AbfD2Qzr (ORCPT ); Mon, 29 Apr 2019 12:55:47 -0400 Received: by mail-pf1-f195.google.com with SMTP id j11so5587863pff.13 for ; Mon, 29 Apr 2019 09:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=AMPQbvcwEN3ZxVejjVGKTdlBJSPIcIJE/Kqfir3TvYk=; b=bIp8G+wuW7rQ37gmaDIBfuVrDfU8/YiaQDK8l32Oica8Kx/A1l2ujRTouhaWa+Z+ij flAq4xBxcbvNGPlRN9vQpCyQPxD12S0O29alldRN9z70HpZdhWyiJSeZPCztOCgfQXnf O4JwOSc6XAbQ3t2XNr1sX0N3pkIf9wisrgu5U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AMPQbvcwEN3ZxVejjVGKTdlBJSPIcIJE/Kqfir3TvYk=; b=hvYlIbO44keTQ3AM+VAJuSD+8AxYaG+uFktcxH9QxrC1k1NGXxSQXkuCUnyGz7t3mA xMnYjN3g9JmmbYNxSCgBehqwQ/8MXKYDHjURPp8OKC2TezAYEypPvf+BwDhgm6jV+xpA oFX+FQo5uwUGinPs3HoqeUzzN+gJ8b/iAuZT63RTvaiyFA2AehrmhbyWBMrG94y3c0aA LvV9KxLLVhTW+og5Gufn66rRowgnS9mWyxJkpeceuIl2Tfg9iO02hzFUG14uBwwJ0UgV CPgEgSxfAMeonNixUybveEtLAQydgBZOZhbB75ks8to4nTezFi9fvb5FuCp3zrhr1boM I90Q== X-Gm-Message-State: APjAAAUKUyFiP2nxZTMivtraBgMwRqXGlUTeG5X5O29mETCkugLQYCMH 4J/tlAYBFwLbMMpo1kzlm/2wHw== X-Google-Smtp-Source: APXvYqxUDG2Rl+yER4noZW2kdX8sLT0Bu5I2nqTLysmUo8pb2pNLanJKAOumCSV+467bL/eGFeLSWA== X-Received: by 2002:a63:500f:: with SMTP id e15mr59974587pgb.198.1556556946665; Mon, 29 Apr 2019 09:55:46 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id 132sm24490812pfw.87.2019.04.29.09.55.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Apr 2019 09:55:45 -0700 (PDT) From: Srinath Mannam To: Zhang Rui , Eduardo Valentin , Sudeep Holla , David Woodhouse Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam Subject: [PATCH] thermal: broadcom: Remove ACPI support Date: Mon, 29 Apr 2019 22:25:29 +0530 Message-Id: <1556556929-25704-1-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Unlike DT framework, thermal-zones and its parameters can't be parsed using ACPI framework. So that ACPI support is removed in this driver. Signed-off-by: Srinath Mannam Reported-by: David Woodhouse --- drivers/thermal/broadcom/sr-thermal.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/thermal/broadcom/sr-thermal.c b/drivers/thermal/broadcom/sr-thermal.c index 2284cbe..475ce29 100644 --- a/drivers/thermal/broadcom/sr-thermal.c +++ b/drivers/thermal/broadcom/sr-thermal.c @@ -3,7 +3,6 @@ * Copyright (C) 2018 Broadcom */ -#include #include #include #include @@ -100,18 +99,11 @@ static const struct of_device_id sr_thermal_of_match[] = { }; MODULE_DEVICE_TABLE(of, sr_thermal_of_match); -static const struct acpi_device_id sr_thermal_acpi_ids[] = { - { .id = "BRCM0500" }, - { /* sentinel */ } -}; -MODULE_DEVICE_TABLE(acpi, sr_thermal_acpi_ids); - static struct platform_driver sr_thermal_driver = { .probe = sr_thermal_probe, .driver = { .name = "sr-thermal", .of_match_table = sr_thermal_of_match, - .acpi_match_table = ACPI_PTR(sr_thermal_acpi_ids), }, }; module_platform_driver(sr_thermal_driver);