From patchwork Fri May 31 07:59:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 17312 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 50E2425DFA for ; Fri, 31 May 2013 08:13:30 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id p13sf1459555vbe.0 for ; Fri, 31 May 2013 01:13:29 -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 :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=0aULSj1/4SL6lwiHkQS9WbnKL2vmnggPXJ2lx5jhLjI=; b=EKFtJUHpUVRVK+BxlZ++rhlbHlM8vZtTqVkNfDKLetjTSnW7sANznEHRPXg5GrmQwk B13si5rbJcU0ZQlPaW8IKOf/CmfhuFxC7jZwnnRuGhXpeFmwQmfDgsMB9Zy1PomSj7lS zFsyZorbsYYOkmYdHtQo+9Brvwk2hj6uD9aLOmfu408EeL8CaNySUh4HbkiK9KoofmIM kBKgSIty566wQzySUWAiujTaGLGbiV7fEXSfj6/WoJorhg6Z42djBWfVMTZqooNcGrol 4dsu0CQARcEQM6UClG5+sEhrfaNbdY2fAiM+XYBcRZ7FBxX32OkVJciFmXXy91RxnXNS ek1w== X-Received: by 10.224.174.145 with SMTP id t17mr6203339qaz.4.1369988009480; Fri, 31 May 2013 01:13:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.36.9 with SMTP id m9ls725334qej.55.gmail; Fri, 31 May 2013 01:13:29 -0700 (PDT) X-Received: by 10.220.114.203 with SMTP id f11mr9041004vcq.21.1369988009235; Fri, 31 May 2013 01:13:29 -0700 (PDT) Received: from mail-vb0-x22a.google.com (mail-vb0-x22a.google.com [2607:f8b0:400c:c02::22a]) by mx.google.com with ESMTPS id l10si27640658vet.28.2013.05.31.01.13.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 01:13:29 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22a 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::22a; Received: by mail-vb0-f42.google.com with SMTP id w15so843910vbf.15 for ; Fri, 31 May 2013 01:13:29 -0700 (PDT) X-Received: by 10.52.233.34 with SMTP id tt2mr7640226vdc.70.1369988009124; Fri, 31 May 2013 01:13:29 -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 jj7csp40583vcb; Fri, 31 May 2013 01:13:28 -0700 (PDT) X-Received: by 10.66.122.163 with SMTP id lt3mr12312606pab.219.1369988007932; Fri, 31 May 2013 01:13:27 -0700 (PDT) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [2607:f8b0:400e:c03::22a]) by mx.google.com with ESMTPS id rl1si4615844pbc.354.2013.05.31.01.13.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 01:13:27 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c03::22a is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c03::22a; Received: by mail-pa0-f42.google.com with SMTP id bj1so130133pad.1 for ; Fri, 31 May 2013 01:13:26 -0700 (PDT) X-Received: by 10.66.230.130 with SMTP id sy2mr12533491pac.75.1369988006192; Fri, 31 May 2013 01:13:26 -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.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 01:13:25 -0700 (PDT) From: Sachin Kamat To: linux-spi@vger.kernel.org Cc: broonie@kernel.org, sachin.kamat@linaro.org, patches@linaro.org, grant.likely@linaro.org, Wan ZongShun Subject: [PATCH 1/3] spi: spi-nuc900: Remove redundant platform_set_drvdata() Date: Fri, 31 May 2013 13:29:06 +0530 Message-Id: <1369987148-22970-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlNf1GztPbrFz0fDTm6ygLrWeX1YkakLf7telizbn+8pfPv3zdFi29NILmDniBG/YUllJlV X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22a 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: , Setting platform data to NULL is not necessary. Signed-off-by: Sachin Kamat Cc: Wan ZongShun --- drivers/spi/spi-nuc900.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-nuc900.c b/drivers/spi/spi-nuc900.c index 94efa2c..2ad3d74 100644 --- a/drivers/spi/spi-nuc900.c +++ b/drivers/spi/spi-nuc900.c @@ -446,8 +446,6 @@ static int nuc900_spi_remove(struct platform_device *dev) free_irq(hw->irq, hw); - platform_set_drvdata(dev, NULL); - spi_bitbang_stop(&hw->bitbang); clk_disable(hw->clk);