From patchwork Fri May 3 09:57:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16626 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f198.google.com (mail-gh0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7F53423905 for ; Fri, 3 May 2013 10:10:29 +0000 (UTC) Received: by mail-gh0-f198.google.com with SMTP id r13sf2221478ghr.1 for ; Fri, 03 May 2013 03:10:20 -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=15I+4s69Fv42sCcP7JM3MNm92kVA2vpYDpJLDxm0cZo=; b=AkqGe1do8bJliWdCF2CnQxMCwDte2P7rvOdkfqJ8VMwK2qPerSZTanzFhOn2rmTFSB y9XVt8DirAy662jTKLh1HPNHQao1zvnUfvRosxNFSc7chWqhlN1uqZ2GHATzOIJ8y8rc kkwUD2NFcyYIskP6JtMyOdrxPcX3zJIsJ004ZTWtk5zd2b5UqLTq6ywR4mD76eBhIwFp mxFYkOFOpA9X6HQojzC0I5NutYwhvWQyNMQ5l1asKkPfYqcLZi9X8tFsp+tvxbkjBIYl oWeKBbNymm8yAy9XUlXQ4duK5q6CnONgKpfuhIqz7CSHSbynTOBunxLAUpQASLo7nI05 TLZQ== X-Received: by 10.236.91.109 with SMTP id g73mr7725327yhf.23.1367575820140; Fri, 03 May 2013 03:10:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.2.72 with SMTP id 8ls366677qes.57.gmail; Fri, 03 May 2013 03:10:19 -0700 (PDT) X-Received: by 10.220.66.212 with SMTP id o20mr3431867vci.2.1367575819890; Fri, 03 May 2013 03:10:19 -0700 (PDT) Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [2607:f8b0:400c:c02::22e]) by mx.google.com with ESMTPS id h3si4774787vci.64.2013.05.03.03.10.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:19 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22e 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:c02::22e; Received: by mail-vb0-f46.google.com with SMTP id 10so1198881vbe.5 for ; Fri, 03 May 2013 03:10:19 -0700 (PDT) X-Received: by 10.58.144.231 with SMTP id sp7mr3446296veb.34.1367575819804; Fri, 03 May 2013 03:10:19 -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 nf2csp14638veb; Fri, 3 May 2013 03:10:19 -0700 (PDT) X-Received: by 10.68.13.35 with SMTP id e3mr12605283pbc.30.1367575818901; Fri, 03 May 2013 03:10:18 -0700 (PDT) Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by mx.google.com with ESMTPS id wx5si6903980pbc.263.2013.05.03.03.10.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:18 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.176 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.176; Received: by mail-pd0-f176.google.com with SMTP id x10so838703pdj.7 for ; Fri, 03 May 2013 03:10:18 -0700 (PDT) X-Received: by 10.66.148.201 with SMTP id tu9mr13830412pab.56.1367575818541; Fri, 03 May 2013 03:10:18 -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.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 03:10:17 -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, Nobuhiro Iwamatsu Subject: [PATCH 4/6] Thermal: kirkwood: Remove redundant platform_set_drvdata() Date: Fri, 3 May 2013 15:27:11 +0530 Message-Id: <1367575034-18432-4-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: ALoCoQl0YcJ9A0zGHi5XpnD6kErVJS24ym7kzMtk5CCNqVtjCRxsFZH0ZCK8Cv7k7UFdoBxbWfyG X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22e 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: Nobuhiro Iwamatsu Acked-by: Eduardo Valentin Acked-by: Nobuhiro Iwamatsu --- drivers/thermal/kirkwood_thermal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c index dfeceaf..b57a45d 100644 --- a/drivers/thermal/kirkwood_thermal.c +++ b/drivers/thermal/kirkwood_thermal.c @@ -108,7 +108,6 @@ static int kirkwood_thermal_exit(struct platform_device *pdev) platform_get_drvdata(pdev); thermal_zone_device_unregister(kirkwood_thermal); - platform_set_drvdata(pdev, NULL); return 0; }