From patchwork Fri May 3 09:57:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16624 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f199.google.com (mail-gh0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CA18E23905 for ; Fri, 3 May 2013 10:10:23 +0000 (UTC) Received: by mail-gh0-f199.google.com with SMTP id g14sf2221509ghb.10 for ; Fri, 03 May 2013 03:10:14 -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 :in-reply-to:references: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=rS3crWOmBJWrx22N9CHx+GbqXyhxQRzSoGdbSvlAys0=; b=KhfhXAAVfQujgDjIiQQFOu/T4R9kfgPuBGcnIaS4WQBbAwaVqw3Tv38O8gujEQUIKm umHtagZOhnhVcq/CWOW+uu4wk8D/M5dDvIlTQMVgtQ9B3WU3qTQqBAdOa+6fxhY23zaa t6rilnXX/Fi+mMctjnrJ6k87ikCL0b+PdVAyTN9MMZ/XzhENh3zohEOa12CzqNkxz+wv N5q0dcW2HuEUXD4fpEUtOg55lprnqHlJgAa4PcWwz+0osyDLcFI5MCsTvUgjrecxDzIA 9U1Rxi0Kij+5qPrYGvnsLcEegS7n0w8u+33Xa6AMjvdx1Mo6KQjL2sXq5zcGBd0dMc3m etNA== X-Received: by 10.236.128.207 with SMTP id f55mr8087521yhi.28.1367575814323; Fri, 03 May 2013 03:10:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.24.6 with SMTP id q6ls1670406qef.35.gmail; Fri, 03 May 2013 03:10:14 -0700 (PDT) X-Received: by 10.52.231.231 with SMTP id tj7mr2928026vdc.111.1367575814109; Fri, 03 May 2013 03:10:14 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id ha8si4797188vdb.22.2013.05.03.03.10.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id lf10so1260578vcb.6 for ; Fri, 03 May 2013 03:10:14 -0700 (PDT) X-Received: by 10.58.173.36 with SMTP id bh4mr3468633vec.9.1367575814019; Fri, 03 May 2013 03:10:14 -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 nf2csp14633veb; Fri, 3 May 2013 03:10:13 -0700 (PDT) X-Received: by 10.68.200.70 with SMTP id jq6mr13149191pbc.120.1367575812828; Fri, 03 May 2013 03:10:12 -0700 (PDT) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id rr3si6932462pbc.152.2013.05.03.03.10.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:12 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.50; Received: by mail-pa0-f50.google.com with SMTP id fb10so847954pad.9 for ; Fri, 03 May 2013 03:10:12 -0700 (PDT) X-Received: by 10.68.247.228 with SMTP id yh4mr13031325pbc.60.1367575812429; Fri, 03 May 2013 03:10:12 -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.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:11 -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, Andrew Lunn Subject: [PATCH 2/6] Thermal: dove_thermal: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 15:27:09 +0530 Message-Id: <1367575034-18432-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367575034-18432-1-git-send-email-sachin.kamat@linaro.org> References: <1367575034-18432-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQkDq9ZmLdATIniJM24XynWtcmBoZxTg89GYwSiJ0Zkr6smWI8PtRt15Oi/90BwDWHSHV9U8 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 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: Andrew Lunn Acked-by: Andrew Lunn Acked-by: Eduardo Valentin --- drivers/thermal/dove_thermal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c index 4b15a5f..900479e 100644 --- a/drivers/thermal/dove_thermal.c +++ b/drivers/thermal/dove_thermal.c @@ -182,7 +182,6 @@ static int dove_thermal_exit(struct platform_device *pdev) platform_get_drvdata(pdev); thermal_zone_device_unregister(dove_thermal); - platform_set_drvdata(pdev, NULL); return 0; }