From patchwork Mon Jan 5 13:09:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 5568191 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 53B6DBF6C3 for ; Mon, 5 Jan 2015 13:10:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8C46B20131 for ; Mon, 5 Jan 2015 13:10:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE66A2014A for ; Mon, 5 Jan 2015 13:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753950AbbAENKh (ORCPT ); Mon, 5 Jan 2015 08:10:37 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:55800 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753867AbbAENKJ (ORCPT ); Mon, 5 Jan 2015 08:10:09 -0500 Received: by mail-la0-f46.google.com with SMTP id q1so18577574lam.33 for ; Mon, 05 Jan 2015 05:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id; bh=TyhMCMNczjjjOo12P5tWtQ3k0n7PYKtP3OTsl+0aBhM=; b=VKSpZbkwmXiy5tSFJqkErDYFUHasPcHGG7kNiLddzC9Qhk48hjg4Sos6WGtqVesxfW vzvy0/YSQy7Qo/MWoxUm20tO5Bq/QkGyTf/g/oUaV6b5NTshkO73p3ct+ya/PhT+VVDv ul2Ca1/9cWmrT5N3hmv12iREZIgfi08hbGQ2c= 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=TyhMCMNczjjjOo12P5tWtQ3k0n7PYKtP3OTsl+0aBhM=; b=P6eYqsCLS7dagNx5GDhzWQvz/EBcx4GiCaZaRkyquxQgz0z5MC+c1aP+6jGulSfROm m30H9og6GqQEtsGmcbb/9PcIA0Yoxce2EM5JF5EC0529t44nCgjDL4geWqmtDbYGan6y L/744bVQQh2u/v8ud+cKAmwt92b6jMwoUlZ/4ls/mIAU31F3qkeOIE8PN9mDSRf3JOCW CHoKT7kyPKxQd50xBJniRnYII0MawxKMlksIN3Iy6TJ684+F/5JornH6gZJbtEnT+BCt 1SmelgWjMWtyJqWmkdjxO+iY5/j0wg8buec13DST2SoD3a8Pb3c0OPBXgNXpMYlmTD3a Id/w== X-Gm-Message-State: ALoCoQk8vkXLj6MAt22HUwjaUs2XtoOOp46wOONzTWV/QV7RaJbG7s0nmvvdAr8EU2n2sNz42nAq X-Received: by 10.152.206.108 with SMTP id ln12mr91909451lac.3.1420463406715; Mon, 05 Jan 2015 05:10:06 -0800 (PST) Received: from spencer.imf.au.dk ([130.225.20.51]) by mx.google.com with ESMTPSA id qr10sm1075934lbb.30.2015.01.05.05.10.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jan 2015 05:10:06 -0800 (PST) From: Rasmus Villemoes To: Tomi Valkeinen , Jean-Christophe Plagniol-Villard Cc: Rasmus Villemoes , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fbdev: omap2: Fix typo in tvc_probe_pdata Date: Mon, 5 Jan 2015 14:09:47 +0100 Message-Id: <1420463387-26391-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.1.3 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_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 Assigning ddata->invert_polarity to itself is not very useful; the context suggests that the right-hand side should have been pdata->invert_polarity. Signed-off-by: Rasmus Villemoes --- drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c b/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c index 9a2b5ce58545..8511c648a15c 100644 --- a/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c +++ b/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c @@ -208,7 +208,7 @@ static int tvc_probe_pdata(struct platform_device *pdev) ddata->in = in; ddata->connector_type = pdata->connector_type; - ddata->invert_polarity = ddata->invert_polarity; + ddata->invert_polarity = pdata->invert_polarity; dssdev = &ddata->dssdev; dssdev->name = pdata->name;