From patchwork Fri Sep 20 06:32:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2915341 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 2CDF4BFF05 for ; Fri, 20 Sep 2013 06:32:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 23E0E202C8 for ; Fri, 20 Sep 2013 06:32:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 51B4C202C3 for ; Fri, 20 Sep 2013 06:32:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753995Ab3ITGce (ORCPT ); Fri, 20 Sep 2013 02:32:34 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:56420 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753559Ab3ITGcd (ORCPT ); Fri, 20 Sep 2013 02:32:33 -0400 Received: by mail-pd0-f181.google.com with SMTP id g10so15988pdj.26 for ; Thu, 19 Sep 2013 23:32:33 -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:in-reply-to :references; bh=N8vuT1vnEolGsOMe6AwsGCrwE0ltGjB1wD36athPo6c=; b=VjlI+cW8Ma1eqpbAhGPKcivxyNpTqcjN2L7wZ1meriQAc/dwcfE/Ahv70pdLP2Gqpv bbP67e6Jh/EgnZasDs4/81X60pzdkn9GQmBFbeXF2p0D20ntAHa2Lm7+pvm4g3CziIRj dHKxASuO/vIhX790/6XU/NhfC8cWbQYgHVQtFhFIuc1s7q6ZJQpLainbBT9DaJuphhvt eUB21l82NcRCXYwyF3+hTGWJMmXMTRW3TYKgX9TqDQrtP7MpTo1k+2v2Pk+/LbPIppXi JAN/ADPIgEHf8N2+9vTJNrxRMUuRLJPJ1d/yJbHzSO3ErRPhsGXSoZw3JajrzcQAzjTB Is5A== X-Gm-Message-State: ALoCoQn+aZpXeTur33XWPFbWjJ2Fm6urLZKIxAijRB/85hLaNuUBCXcYuKwCU7sMpg71eO0EbesS X-Received: by 10.66.121.201 with SMTP id lm9mr6987343pab.80.1379658753126; Thu, 19 Sep 2013 23:32:33 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id gh9sm13542197pbc.40.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Sep 2013 23:32:32 -0700 (PDT) From: Sachin Kamat To: linux-fbdev@vger.kernel.org Cc: tomi.valkeinen@ti.com, plagnioj@jcrosoft.com, sachin.kamat@linaro.org Subject: [PATCH 09/15] video: cg6: Remove redundant dev_set_drvdata Date: Fri, 20 Sep 2013 12:02:18 +0530 Message-Id: <1379658744-17113-10-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1379658744-17113-1-git-send-email-sachin.kamat@linaro.org> References: <1379658744-17113-1-git-send-email-sachin.kamat@linaro.org> 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 --- drivers/video/cg6.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index 3545dec..f070ec3 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c @@ -839,8 +839,6 @@ static int cg6_remove(struct platform_device *op) framebuffer_release(info); - dev_set_drvdata(&op->dev, NULL); - return 0; }