From patchwork Tue Jul 4 15:22:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lynn Lei X-Patchwork-Id: 9825279 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 13A0260237 for ; Tue, 4 Jul 2017 15:22:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0192D28047 for ; Tue, 4 Jul 2017 15:22:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8B54280FC; Tue, 4 Jul 2017 15:22:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8326028047 for ; Tue, 4 Jul 2017 15:22:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752199AbdGDPW4 (ORCPT ); Tue, 4 Jul 2017 11:22:56 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35409 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752184AbdGDPWz (ORCPT ); Tue, 4 Jul 2017 11:22:55 -0400 Received: by mail-pg0-f65.google.com with SMTP id d193so9357875pgc.2; Tue, 04 Jul 2017 08:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:mime-version:content-disposition; bh=s338bk69BgVb+BcIJue0NGBe4bYs+YQvTl+42XW91Rk=; b=Q/FGoEna+1fXY2GR+9wd1GcBLyKcI/imD7KzPvMqFFnTC1pym+ONoBY1aPAqOxQ47R 1ZQi3pl5fLDoKuEitkdSo0/2E1z3z4A9VABhd/SI56tilYQM1Wiw76Y0e7PnwSHb48m+ 9WQASVSF+MzPoibiPUE2sq+UET52sKaDfsA04H3rJws5yX0oXBqbYk+hnIaGR7nVYwSb o5St6CviK5eIlREjQGjnAfcr4go444v/59IaVUPqqEPXUGC50FJPfVkyRzwGnPdE9v8T tEMW1dp9U9vV2ctnJcqxau1rL+9L+9CFOsZ5Sn80V1Nyl8EOHs60vnkqdAzUZgziLg+U +DRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:mime-version :content-disposition; bh=s338bk69BgVb+BcIJue0NGBe4bYs+YQvTl+42XW91Rk=; b=udlBAGJ+jxNYSo87ye0DLau8Fnng9XzxMM7s0VYe8tH13FB4BEMZwMvn4wbxa+7PHf wa4guStGpPL8fAky/R3y4yJ9F4KMPdJ2byr9aoGYqzpPGbaLXgquoqU5U0A6FIs3n9ZK uErqfHAfSXJhyCxzgwu58vMrcETFpkEjYTzKYTjnIAdlS8+fRYkCueXzkBdud5winI4/ 4K8VD6GDkQ7D7lk7RyNMUNtaD7NUFDjQcpvmyNC7DzDA1wWpLhZ7puooIJ69nc79fM5D b6FS11ntHiNhy1kgc4d0iSlEor3NqxhMK5l4ky4CfLSpNQmLLQ7egeXytMPBWGBXurQ3 5ecA== X-Gm-Message-State: AIVw110y7BEwR26AFhd7tRMZjsP/TX6GZOoqpbC+hcefLMMpYgpxgYCr qXyoQNznJek8Yg== X-Received: by 10.99.186.13 with SMTP id k13mr16674106pgf.0.1499181774583; Tue, 04 Jul 2017 08:22:54 -0700 (PDT) Received: from lynnl.yet ([112.64.217.95]) by smtp.gmail.com with ESMTPSA id o84sm51147767pfj.109.2017.07.04.08.22.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Jul 2017 08:22:54 -0700 (PDT) From: Lynn Lei X-Google-Original-From: Lynn Lei Date: Tue, 4 Jul 2017 23:22:42 +0800 To: sudipm.mukherjee@gmail.com Cc: teddy.wang@siliconmotion.com, b.zolnierkie@samsung.com, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] video: fbdev: sm712fb.c: using __func__ macro for pr_debug Message-ID: <20170704152242.GA23851@lynnl.yet> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Inside function sm7xx_vga_setup() Using a generic function macro for debug information display Signed-off-by: Lynn Lei --- drivers/video/fbdev/sm712fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/sm712fb.c b/drivers/video/fbdev/sm712fb.c index 73cb4ffff3c5..4d3684333b7b 100644 --- a/drivers/video/fbdev/sm712fb.c +++ b/drivers/video/fbdev/sm712fb.c @@ -785,7 +785,7 @@ static void __init sm7xx_vga_setup(char *options) smtc_scr_info.lfb_height = 0; smtc_scr_info.lfb_depth = 0; - pr_debug("sm7xx_vga_setup = %s\n", options); + pr_debug("%s = %s\n", __func__, options); for (i = 0; i < ARRAY_SIZE(vesa_mode_table); i++) { if (strstr(options, vesa_mode_table[i].index)) {