Message ID | 1369987148-22970-2-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBDM5LUP2XEPRBLVXUGGQKGQE2TPW4PA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1115C25DFA for <linaro@patches.linaro.org>; Fri, 31 May 2013 08:13:35 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id c10sf608848wiw.3 for <linaro@patches.linaro.org>; Fri, 31 May 2013 01:13:34 -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=NetaGwLYUE7qhAhrgqiuby3eafH2YVs1qxqS2LIzGqk=; b=NJKlsiEEhTOKr4UHob7WwnqSI1cgvZ0LMiV9VjGaoW5W37o/a1qyXXuz5Oa0q4xFrk 8RWJRzDPihB/7WaUdvoCpKZjmyr1QLCoIfDc8LhE+mNSzU9pEDzkfXYP2wDtioCx8+v2 0Sly66fCm6J8mYB8XyLN0wrOsEJ0WA5SUDqz8MqtgiEwf+F4Nc2NiUass/vCeNQHdb4H c2St6pGqWBAU7AizitFhJwEySnTWYHpMnAjeXIKWkGZ4z3nMtl0l/YiyoG2pQgwu09qv F36KSquYMGaAkdYy5vRrDYeddH+seRCuXT3UHPZEZ4BUusXnddNAZliqAZ1kreEe6GwP rZEQ== X-Received: by 10.180.21.226 with SMTP id y2mr1022457wie.5.1369988014535; Fri, 31 May 2013 01:13:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.78.202 with SMTP id d10ls152003wix.27.canary; Fri, 31 May 2013 01:13:34 -0700 (PDT) X-Received: by 10.180.189.136 with SMTP id gi8mr2198858wic.11.1369988014400; Fri, 31 May 2013 01:13:34 -0700 (PDT) Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [2607:f8b0:400c:c01::22e]) by mx.google.com with ESMTPS id w15si1060213wie.10.2013.05.31.01.13.34 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 01:13:34 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::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:c01::22e; Received: by mail-ve0-f174.google.com with SMTP id oz10so896904veb.19 for <patchwork-forward@linaro.org>; Fri, 31 May 2013 01:13:33 -0700 (PDT) X-Received: by 10.52.163.207 with SMTP id yk15mr7674886vdb.42.1369988013317; Fri, 31 May 2013 01:13:33 -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.220.229.199 with SMTP id jj7csp40584vcb; Fri, 31 May 2013 01:13:32 -0700 (PDT) X-Received: by 10.66.154.225 with SMTP id vr1mr12682653pab.85.1369988012107; Fri, 31 May 2013 01:13:32 -0700 (PDT) Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [2607:f8b0:400e:c01::22d]) by mx.google.com with ESMTPS id qb9si16442798pbb.154.2013.05.31.01.13.31 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 01:13:32 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22d is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::22d; Received: by mail-pb0-f45.google.com with SMTP id mc17so1810380pbc.32 for <patches@linaro.org>; Fri, 31 May 2013 01:13:31 -0700 (PDT) X-Received: by 10.68.208.39 with SMTP id mb7mr12153607pbc.84.1369988011642; Fri, 31 May 2013 01:13:31 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id pb5sm45249488pbc.29.2013.05.31.01.13.26 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 01:13:29 -0700 (PDT) From: Sachin Kamat <sachin.kamat@linaro.org> To: linux-spi@vger.kernel.org Cc: broonie@kernel.org, sachin.kamat@linaro.org, patches@linaro.org, grant.likely@linaro.org Subject: [PATCH 2/3] spi: spi-s3c24xx: Remove redundant platform_set_drvdata() Date: Fri, 31 May 2013 13:29:07 +0530 Message-Id: <1369987148-22970-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369987148-22970-1-git-send-email-sachin.kamat@linaro.org> References: <1369987148-22970-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQneA9SIjGxTR42yWKPqQxrHlzxEYSOD2MVNTQ/UNNCJ6yOsuNm2nUci6TXFYvr34fp1Jumo X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
On Fri, May 31, 2013 at 01:29:07PM +0530, Sachin Kamat wrote:
> Setting platform data to NULL is not necessary.
Applied, thanks.
diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c index 02d6460..68910b3 100644 --- a/drivers/spi/spi-s3c24xx.c +++ b/drivers/spi/spi-s3c24xx.c @@ -667,8 +667,6 @@ static int s3c24xx_spi_remove(struct platform_device *dev) { struct s3c24xx_spi *hw = platform_get_drvdata(dev); - platform_set_drvdata(dev, NULL); - spi_bitbang_stop(&hw->bitbang); clk_disable(hw->clk);
Setting platform data to NULL is not necessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/spi/spi-s3c24xx.c | 2 -- 1 file changed, 2 deletions(-)