From patchwork Fri Apr 26 20:02:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylwester Nawrocki X-Patchwork-Id: 2495871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id D0F283FC64 for ; Fri, 26 Apr 2013 20:41:55 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVous-0007Iu-Dq; Fri, 26 Apr 2013 20:06:51 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVotj-0004QX-UR; Fri, 26 Apr 2013 20:05:35 +0000 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVosg-0004LO-9I for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2013 20:04:32 +0000 Received: by mail-ea0-f173.google.com with SMTP id m14so1876516eaj.32 for ; Fri, 26 Apr 2013 13:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=cHlsJt6p23q/FzSJeOdaIdRnu9to+ayUNzYeyhsvBkI=; b=SvCGh63m745sohVHsDupxuRJR/iF2XX3cOAQSfWKnSuZwirCcSjOFGDEKOwShSK8F/ lU7/G2ClNxFiL2N3u+LLMgqEvoHwh8t6h7rMMM4D4o7bVRyO+r/a9HwpoXUdN+brvlB5 FTBXRW1YF3x1mzPPTI8jcn1EcdheoBbyTxqzU+5fgrTuj4G7z748qivFas4mlaY6H7zJ l8GV6ElPa5Q47k0a/WkI9yawF1gzOQxe1PPCPgTwhWirhIY4t/XILSsxxQpRZwL576GF qhdrQmJsF9nQN0TrokT251jQe86M0QXdhQ8juJNX2qjuFoe8WZ5wPjYD6yMbIxQHzDqZ 9xyw== X-Received: by 10.15.102.3 with SMTP id bq3mr91293181eeb.42.1367006668372; Fri, 26 Apr 2013 13:04:28 -0700 (PDT) Received: from localhost.localdomain (093105185086.warszawa.vectranet.pl. [93.105.185.86]) by mx.google.com with ESMTPSA id cd3sm17841788eeb.6.2013.04.26.13.04.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Apr 2013 13:04:27 -0700 (PDT) From: Sylwester Nawrocki To: kgene.kim@samsung.com, FlorianSchandinat@gmx.de Subject: [PATCH 8/9] s3c2410fb: Remove redundant platform_set_drvdata() Date: Fri, 26 Apr 2013 22:02:22 +0200 Message-Id: <1367006543-5458-9-git-send-email-sylvester.nawrocki@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1367006543-5458-1-git-send-email-sylvester.nawrocki@gmail.com> References: <1367006543-5458-1-git-send-email-sylvester.nawrocki@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130426_160430_469325_B640D798 X-CRM114-Status: GOOD ( 11.56 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sylvester.nawrocki[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: linux-fbdev@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org driver_data field is being cleared by the driver core since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d device-core: Ensure drvdata = NULL when no driver is bound hence there is no need to do it in the driver's remove() callback. Signed-off-by: Sylwester Nawrocki --- drivers/video/s3c2410fb.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c index 11f98ca..0439ed0 100644 --- a/drivers/video/s3c2410fb.c +++ b/drivers/video/s3c2410fb.c @@ -1013,7 +1013,6 @@ static int s3c2410fb_remove(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); free_irq(irq, info); - platform_set_drvdata(pdev, NULL); framebuffer_release(fbinfo); return 0;