From patchwork Mon Jun 3 10:13:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 2651721 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9609A3FC23 for ; Mon, 3 Jun 2013 10:13:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753435Ab3FCKNm (ORCPT ); Mon, 3 Jun 2013 06:13:42 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:33642 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756532Ab3FCKNj (ORCPT ); Mon, 3 Jun 2013 06:13:39 -0400 Received: by mail-we0-f170.google.com with SMTP id w57so1520777wes.15 for ; Mon, 03 Jun 2013 03:13:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:content-type:x-gm-message-state; bh=cFsHakL/oMpQOhIx88zTVPnXzYRYHQdRQhilaN1naek=; b=kGmTnR8uVbk6tuGzaiCz5EozLi8tsvk96EkpUM596no3hWvoCPKDpv0++Z+NaMP7Ko Z+7EMzPIDcOpYNh79VQZ7r0nDOjytZCnZXZD66pLJk0but912ByUKob9lXzf/3/d8ozQ 8DtKMgcFbmeLTd4jf/tZ3xCzDjnllIsfzdnzHPLy+r6YNrGxFcQmctK7+as1OuMRPpMv 0KFiQqf/3+psO9jTrJT29z2Pj3Hu/TBJYfsh5GHqfUmphbtlv00XkpZ6dN/bFGHPI9y4 kEW8mH0jJy+IBwACAeVMudgqybk4cKyDvmJfwnKOfvepSP2/BytAoM/hCDd6Jpn8luuo NCEQ== X-Received: by 10.180.208.107 with SMTP id md11mr11755725wic.52.1370254417874; Mon, 03 Jun 2013 03:13:37 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id ff10sm22299021wib.10.2013.06.03.03.13.36 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 03 Jun 2013 03:13:36 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org Cc: Michal Simek , Michal Simek , Arnd Bergmann , Timur Tabi , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org Subject: [PATCH v4 4/7] video: xilinxfb: Use drvdata->regs_phys instead of physaddr Date: Mon, 3 Jun 2013 12:13:19 +0200 Message-Id: <75dcc7f6bdffb73163aced18a72f6c77b5930422.1370254386.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQmrCPp/0dOvInldfc0m+JJdsYrZntSbhDUbdMnixxBZyq9wt7cA3RCnD+3awC4FwndFqK6i Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org physaddr will be remove in the next patch. Signed-off-by: Michal Simek --- Changes in v4: None Changes in v3: - New patch in this patchset based on discussions Changes in v2: None drivers/video/xilinxfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.8.2.3 diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index d94c992..1b55f18 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c @@ -325,7 +325,7 @@ static int xilinxfb_assign(struct device *dev, if (drvdata->flags & BUS_ACCESS_FLAG) { /* Put a banner in the log (for DEBUG) */ - dev_dbg(dev, "regs: phys=%lx, virt=%p\n", physaddr, + dev_dbg(dev, "regs: phys=%x, virt=%p\n", drvdata->regs_phys, drvdata->regs); } /* Put a banner in the log (for DEBUG) */ @@ -353,7 +353,7 @@ err_fbmem: err_map: if (drvdata->flags & BUS_ACCESS_FLAG) - release_mem_region(physaddr, 8); + release_mem_region(drvdata->regs_phys, 8); err_region: kfree(drvdata);