Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp10353ima; Thu, 31 Jan 2019 11:31:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN6rw7ivjOmncNRMSZjs36UONW4dsbGUpEhISmdLOtZoWPCAaB8vhXNR7/VcuiZMmVGEwkov X-Received: by 2002:a63:6207:: with SMTP id w7mr31485323pgb.90.1548963084523; Thu, 31 Jan 2019 11:31:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548963084; cv=none; d=google.com; s=arc-20160816; b=C76lHDdkxB1Os5qdIAH0cpCzl/kneUa8mQeBU1fx02Y/poEwSv07Fw54DydSbyokZe pPj56gE65bCIn470PkYXV/xuPWGnYbvmEJdAIEOGCV0e8eCvnwujoVS3hbRqnI13Er+l vnRWXChoXuFgJ9a2ju6tzwWUKlOcNdaEdSLwMtZtiuRKb+AwmP4z2tlkHJYZKniC5ec5 2eGB6kVFWHH038P8Cft8Oh+5PAFYf6sSBDLyhvx66gk5Gb0w45TrRMbNLFsP+sLBqKTO MiYZriQIWS7mAUGAtteNYge7NvdlG5mzMjeYMsDywpIHVkd39wKGY0UETHxKTr8ZKRhO BO0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=mreaSKGxaP0QZfc6P9JdABAXI216xRGYqk5pooAHFGM=; b=WRV2HOPkKbTEpTqqQtoCRjgD0Nvve6SjAf9YIlaS1oyLax7nd4j2/yUsTpnKLFCdz6 qNSLHmsC2HZc4aiAcPpRm954xLDcKqqRCvQ8N6oxXF6RW54jnxUkgm8kxSpRWAOlHd21 +QYqaFzI2/UGRl1LWjQo0+yO/9NiX6o667PkWZ0tr4VvP6BI5x5Ro/sLVNcfhZojSPWu 4yVtiRMi0Nyekj0PQzVEclZAaa37GTiHh448t2oOaUsfFcUYLqJCiwvEBDElJ+UgAQOf lb0TXg8oPNWEoX+qKjbSCaQucyffoBMDMoftA3U58u38q1VKDiMJvnI7M1EcbhyNQo9n t5rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bRN5exDa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k186si5164710pgc.576.2019.01.31.11.31.09; Thu, 31 Jan 2019 11:31:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bRN5exDa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728867AbfAaT0z (ORCPT + 99 others); Thu, 31 Jan 2019 14:26:55 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:40699 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728785AbfAaT0w (ORCPT ); Thu, 31 Jan 2019 14:26:52 -0500 Received: by mail-lf1-f67.google.com with SMTP id v5so3220999lfe.7 for ; Thu, 31 Jan 2019 11:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=mreaSKGxaP0QZfc6P9JdABAXI216xRGYqk5pooAHFGM=; b=bRN5exDaUvjkAKimi+lJqftW+Wh436GUzUoZIB+Sqy1atEJtqUN+PJx2sD0r7ELYzW 7fS/86ci2hpz9rDaBriTFioSu1l8AfWsiZ27/DoUROssR0hXBM1UdeyK7fOHNokYgYsE 80Uq/qZVqBjrZXQ0BiH/yKL5sf9CtSvaG0WhWqZ9ckP4Q+LicY4IwvyRG1qoqkcVWiUQ HFVpG7lK/jo8D0wbEZD3zp2j/pBwi8mH9SN65nofig60oYnSSCgvQM34Q4H7etJ7ycHK h9A8xUS5MFfR7jTp7YC3T94XWxIPq75BIFl7BnoEdtYzhrYOMWfDfV5mBDMkMPkv0f60 /r0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=mreaSKGxaP0QZfc6P9JdABAXI216xRGYqk5pooAHFGM=; b=Z6GjrzgrwdabFWLoEknPVOrjNfLUqDNdz6LBkGsIUTy2CJ9GRutIU9uCoyOMP4FnbJ huxMDEV9TgLT4pq/hieJm5DUO5j87oYoie2kzCcxCUWXa3iwmBwWmbEVGdvaLVuvQFGa vHP0gccc7M58mKiomNk2lsW/TFFLqpHIMpnMqFzOIR853FqvOM6RNiy6NIO4bNgcY7Vx ceeZMaCkDJZbASJlm3EzukqizKP60b9wjb0SessLa7xJpXrCMBbYmcq9xLZS0kiGaX0e LAkXYePpyvQ5v57LcIkQ5jnkJyV2+2hQtoM5obqHSat4e8FtGlolHWzcKKAayRXd/Ckq bV7Q== X-Gm-Message-State: AJcUukewEbfCxrw37FpXt9BlUQ8p/BT35Q5+A8d9HiUlU+71+AyplbG9 Q+scmAidR8l1DiXFNyEgAFo= X-Received: by 2002:a19:5349:: with SMTP id h70mr27664455lfb.50.1548962810241; Thu, 31 Jan 2019 11:26:50 -0800 (PST) Received: from jupiter.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id f1sm987363lfm.22.2019.01.31.11.26.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jan 2019 11:26:49 -0800 (PST) From: Sam Ravnborg To: Thierry Reding , dri-devel@lists.freedesktop.org Cc: Daniel Vetter , David Airlie , Linus Walleij , Stefan Mavrodiev , linux-kernel@vger.kernel.org, Sam Ravnborg Subject: [PATCH v1 16/19] drm/panel: raydium: use DRM_DEV* Date: Thu, 31 Jan 2019 20:26:16 +0100 Message-Id: <20190131192619.9763-17-sam@ravnborg.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190131192619.9763-1-sam@ravnborg.org> References: <20190131192619.9763-1-sam@ravnborg.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduce use of DRM_DEV* for logging. This makes logging in the drm subsystem more consistent. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-raydium-rm68200.c b/drivers/gpu/drm/panel/panel-raydium-rm68200.c index e05e3f950855..bbf3f51c8a3a 100644 --- a/drivers/gpu/drm/panel/panel-raydium-rm68200.c +++ b/drivers/gpu/drm/panel/panel-raydium-rm68200.c @@ -379,14 +379,14 @@ static int rm68200_probe(struct mipi_dsi_device *dsi) ctx->reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); if (IS_ERR(ctx->reset_gpio)) { ret = PTR_ERR(ctx->reset_gpio); - dev_err(dev, "cannot get reset GPIO: %d\n", ret); + DRM_DEV_ERROR(dev, "cannot get reset GPIO: %d\n", ret); return ret; } ctx->supply = devm_regulator_get(dev, "power"); if (IS_ERR(ctx->supply)) { ret = PTR_ERR(ctx->supply); - dev_err(dev, "cannot get regulator: %d\n", ret); + DRM_DEV_ERROR(dev, "cannot get regulator: %d\n", ret); return ret; } @@ -411,7 +411,7 @@ static int rm68200_probe(struct mipi_dsi_device *dsi) ret = mipi_dsi_attach(dsi); if (ret < 0) { - dev_err(dev, "mipi_dsi_attach() failed: %d\n", ret); + DRM_DEV_ERROR(dev, "mipi_dsi_attach() failed: %d\n", ret); drm_panel_remove(&ctx->panel); return ret; } -- 2.12.0