From patchwork Fri May 3 09:57:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16623 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ea0-f198.google.com (mail-ea0-f198.google.com [209.85.215.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 508AF23905 for ; Fri, 3 May 2013 10:10:22 +0000 (UTC) Received: by mail-ea0-f198.google.com with SMTP id h14sf2176825eak.9 for ; Fri, 03 May 2013 03:10:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=6slNSzD9ZjiN48IKVqgAylQbtE6LbxDEFyKtY0o0MIM=; b=aY8DUQJJNVyIijP39IlEEZx1mDQfmiccKr1tw1bnHuRFV0RMzC8G5GD45WntY4ZYWg Vy0N0h9dU3xEoydb1q+6T77oFJL8Hmy++mddlpi9FcxV8P8knuA6RrvLkvVnRBAwj3wH jrAMl34pvRVZ5/y9X5CWfU2kg0udJXxNuk2CIA4p+mzPX5ZQPz6exk3RRjcz3xCzYwOd lJNsw/nx84gtZpd9oA52qkctDM3mC6PcSIjhsbLhbTTriDXUcScsEPTKwSddMBH7K3cW Z1c/z/VW367zDu6tplQ9MkWzck/LzXG0ALmkfcKaeZ8N3gn7+qMaHTchBLTA2RwHv1Xd lExg== X-Received: by 10.180.87.193 with SMTP id ba1mr23058076wib.0.1367575811981; Fri, 03 May 2013 03:10:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.100.201 with SMTP id fa9ls121068wib.12.canary; Fri, 03 May 2013 03:10:11 -0700 (PDT) X-Received: by 10.180.79.69 with SMTP id h5mr39139019wix.14.1367575811896; Fri, 03 May 2013 03:10:11 -0700 (PDT) Received: from mail-ve0-x235.google.com (mail-ve0-x235.google.com [2607:f8b0:400c:c01::235]) by mx.google.com with ESMTPS id gg1si3198882wic.86.2013.05.03.03.10.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:11 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::235 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::235; Received: by mail-ve0-f181.google.com with SMTP id d10so1325096vea.40 for ; Fri, 03 May 2013 03:10:10 -0700 (PDT) X-Received: by 10.52.66.101 with SMTP id e5mr2922001vdt.57.1367575810821; Fri, 03 May 2013 03:10:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp14632veb; Fri, 3 May 2013 03:10:10 -0700 (PDT) X-Received: by 10.66.13.35 with SMTP id e3mr14049903pac.186.1367575809848; Fri, 03 May 2013 03:10:09 -0700 (PDT) Received: from mail-da0-x235.google.com (mail-da0-x235.google.com [2607:f8b0:400e:c00::235]) by mx.google.com with ESMTPS id sk3si7412201pab.319.2013.05.03.03.10.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:09 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::235 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c00::235; Received: by mail-da0-f53.google.com with SMTP id o9so731916dan.26 for ; Fri, 03 May 2013 03:10:09 -0700 (PDT) X-Received: by 10.68.136.198 with SMTP id qc6mr8364730pbb.117.1367575809332; Fri, 03 May 2013 03:10:09 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ya4sm11099643pbb.24.2013.05.03.03.10.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:08 -0700 (PDT) From: Sachin Kamat To: linux-pm@vger.kernel.org Cc: eduardo.valentin@ti.com, rui.zhang@intel.com, sachin.kamat@linaro.org, patches@linaro.org, Ezequiel Garcia Subject: [PATCH 1/6] Thermal: armada_thermal: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 15:27:08 +0530 Message-Id: <1367575034-18432-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQkj973UooM/sHadIWdy8e9PQ66szESEBvuDZw17jJVN8ypRLK7wexH7Mrqm7vRnOC9hQwq/ X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::235 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Ezequiel Garcia Acked-by: Ezequiel Garcia Acked-by: Eduardo Valentin --- drivers/thermal/armada_thermal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c index 5b4d75f..0d02d4e 100644 --- a/drivers/thermal/armada_thermal.c +++ b/drivers/thermal/armada_thermal.c @@ -210,7 +210,6 @@ static int armada_thermal_exit(struct platform_device *pdev) platform_get_drvdata(pdev); thermal_zone_device_unregister(armada_thermal); - platform_set_drvdata(pdev, NULL); return 0; }