From patchwork Wed Jun 5 06:13:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17537 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-bk0-f72.google.com (mail-bk0-f72.google.com [209.85.214.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AAD8225A2B for ; Wed, 5 Jun 2013 06:27:25 +0000 (UTC) Received: by mail-bk0-f72.google.com with SMTP id jc3sf1005892bkc.7 for ; Tue, 04 Jun 2013 23:27:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to: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=lBVD8MSigSybKtDz3q6r6uU7lp3cxVv5tbu2H+6ErxA=; b=QMudbPKOkKddRKakL8ecGddGvP8rOhvMYaCH8prhAhw0zu1jpIOEVJA7x8yjCBo9AZ axbcw3lg4+7KCIeBrem2YPwGZQXgIfpVRRKzR0zuWMphRFwmfaTRS25AcwB2xLtxod2P 4aaKAZzbapV+nJuwHkWsGFTa2WfY0JFpOPxM8Wgrjm8UXiSaQ2vAUxgNcocqFH8pIecW 1yDSk4sT6l5IjStok1wDO9lD6StlNWP6cYTvPKbWhSRxcuIisLvkTFiDH3i4FWeEkU/W sUrSC6M1/Gxd78fDJpIR447Ur6uLLV1drIDxOpUBDHJ2sOcUGSrLSAkPHsOn3lW8Nl90 ZyMg== X-Received: by 10.180.206.107 with SMTP id ln11mr1848176wic.7.1370413644420; Tue, 04 Jun 2013 23:27:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.104.36 with SMTP id gb4ls1526968wib.46.canary; Tue, 04 Jun 2013 23:27:24 -0700 (PDT) X-Received: by 10.194.235.130 with SMTP id um2mr27277414wjc.30.1370413644103; Tue, 04 Jun 2013 23:27:24 -0700 (PDT) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [2607:f8b0:400c:c01::230]) by mx.google.com with ESMTPS id vc4si24822627wjc.258.2013.06.04.23.27.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 23:27:24 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::230 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::230; Received: by mail-ve0-f176.google.com with SMTP id c13so909601vea.21 for ; Tue, 04 Jun 2013 23:27:23 -0700 (PDT) X-Received: by 10.52.53.36 with SMTP id y4mr16524486vdo.51.1370413643003; Tue, 04 Jun 2013 23:27:23 -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.221.10.206 with SMTP id pb14csp4038vcb; Tue, 4 Jun 2013 23:27:22 -0700 (PDT) X-Received: by 10.68.239.169 with SMTP id vt9mr31368420pbc.8.1370413642117; Tue, 04 Jun 2013 23:27:22 -0700 (PDT) Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [2607:f8b0:400e:c03::22c]) by mx.google.com with ESMTPS id yh2si44765329pab.177.2013.06.04.23.27.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 23:27:22 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c03::22c is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c03::22c; Received: by mail-pa0-f44.google.com with SMTP id wp1so787725pac.3 for ; Tue, 04 Jun 2013 23:27:21 -0700 (PDT) X-Received: by 10.66.245.49 with SMTP id xl17mr32851800pac.101.1370413641708; Tue, 04 Jun 2013 23:27:21 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id vb8sm66600749pbc.11.2013.06.04.23.27.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 23:27:21 -0700 (PDT) From: Sachin Kamat To: linux-pm@vger.kernel.org Cc: myungjoo.ham@samsung.com, kyungmin.park@samsung.com, a.kesavan@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/3] PM / devfreq: Remove redundant platform_set_drvdata() in exynos5_bus.c Date: Wed, 5 Jun 2013 11:43:00 +0530 Message-Id: <1370412781-20683-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1370412781-20683-1-git-send-email-sachin.kamat@linaro.org> References: <1370412781-20683-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmmY4ufj1GEO0UOMv0ZSQl79UYvEM18S4WFfCrCbPO95aNoD5iALT+1qc6ysP09KqTbmqWs X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::230 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 Acked-by: MyungJoo Ham devfreq); - platform_set_drvdata(pdev, NULL); err_opp_add: clk_put(data->int_clk); err_clock: @@ -437,7 +436,6 @@ static int exynos5_busfreq_int_remove(struct platform_device *pdev) devfreq_remove_device(data->devfreq); regulator_put(data->vdd_int); clk_put(data->int_clk); - platform_set_drvdata(pdev, NULL); return 0; }