From patchwork Fri Sep 20 06:38:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2915421 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4B072BFF05 for ; Fri, 20 Sep 2013 06:38:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3467520335 for ; Fri, 20 Sep 2013 06:38:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 23FF120319 for ; Fri, 20 Sep 2013 06:38:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753826Ab3ITGin (ORCPT ); Fri, 20 Sep 2013 02:38:43 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:57507 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753522Ab3ITGin (ORCPT ); Fri, 20 Sep 2013 02:38:43 -0400 Received: by mail-pd0-f174.google.com with SMTP id y13so22661pdi.19 for ; Thu, 19 Sep 2013 23:38:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=t+MIcarKBhmpUUM+tz285zOsHUd5qKP1vx/Qajmk6l4=; b=HH85k1TdwsN1wV/LtZrD0vrzbQF11PpNkrIhVfsy3f7SY2j+p81LpfPl2D14/X6RaR qhGWtH1Y5q4oyU2awF1QZmUB3dRqWRmwi1z5EddJ4T9uPT4HN5bSe2GlCGYQ2cA1tIkh bGS0LIbJqfMrsjVpNjta7C4oz5erkp3J+1IGozvA9ycj4sPesnE7OxnaBV7d+SyIZ0ba HzezuT2vBtzD1NLJvGXHFZTAVH34xsij86sdibOg8cRJVIU9hWILa9m4Tpr3stf8JcuQ E4rPuUmnwljXn6WOrp8e34wDwSEVNoV/bspoaZTU+cyaLAsQ2MjGDoonMZEtXKxCmsSU En1Q== X-Gm-Message-State: ALoCoQnJ6hIF4myHPvA1xFeDPzcfMFirmkv11eXbw/0/1EpG3Pea5V/9D3qk8eYCQgLMucu0PDz6 X-Received: by 10.68.87.2 with SMTP id t2mr1364550pbz.198.1379659123011; Thu, 19 Sep 2013 23:38:43 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ry4sm16801290pab.4.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Sep 2013 23:38:42 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, jg1.han@samsung.com, rpurdie@rpsys.net, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [PATCH 1/2] backlight: l4f00242t03: Remove redundant spi_set_drvdata Date: Fri, 20 Sep 2013 12:08:52 +0530 Message-Id: <1379659133-18799-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat Acked-by: Jingoo Han --- drivers/video/backlight/l4f00242t03.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c index a35a38c..59eebe0 100644 --- a/drivers/video/backlight/l4f00242t03.c +++ b/drivers/video/backlight/l4f00242t03.c @@ -244,7 +244,6 @@ static int l4f00242t03_remove(struct spi_device *spi) l4f00242t03_lcd_power_set(priv->ld, FB_BLANK_POWERDOWN); lcd_device_unregister(priv->ld); - spi_set_drvdata(spi, NULL); return 0; }