Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1189168ybt; Tue, 7 Jul 2020 09:38:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKVrlDdcDvNzqXYf1SwdvFHnY1j2uvtUGHEBammdlZV0SlQxUTYotO/fCcdRmJwVg7q1AZ X-Received: by 2002:a17:906:da19:: with SMTP id fi25mr47635787ejb.369.1594139935811; Tue, 07 Jul 2020 09:38:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594139935; cv=none; d=google.com; s=arc-20160816; b=AKqD3PwzH2HqQ+aUpkv1lS4ZZvC+l3g4K4/UNU+deGauKJBLy3OdK7PaUDiicGultt t424DKNX1zV96z77xf2BMnRnN5B6VXy/fE3PdYTN49CYfZgvipI3KsiNJHVrXPuYRMeZ Xb5IIF5w66Ru/8TDhcYeiW5Zh7sgEOV5JPy6uNK97qh6qC2YaNsz1ASheRL32B+MNdKI Zy130JHu14bvnEBxdyYXZn1DGPdzbFqxaSDXlCPpjQkhJxNHWBaZ1uqVinEofwDz7v3t 23mqgNKJOfPSd8kVTJQj3BqH6k46wxT2v3DuRlfDMM80x3CyOQIT8u5/4QN2Ty9c1Gea 6FMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P+tEcuvDANaU3TFunPyWDY6whSvjt/qMfIX+MZZgXbo=; b=etCjbKne6FMRiOeRR+8aq2+1LrPxiGXYA+vpRZmxhY8wjJQC9ujOT7paRti1x+QReB 2BoAiJ77qpofH7CQd6Xoa+FiauhMfLQoTqd9xCwKG3F2p9ofby15Di3aa+ogURwqKNzQ Ul1B4p9k9LYw3ukO2f82anHAtjI1ooJ9lUykYM604E271Fm80PlvtzBTd+l5qu3EDi3y +GITpI+9E6BMCG7u4LgQ0JbXH2DEA/5Js+42M/iHhpEvQrPlYlQHvtRc4fuUjx8WYUo4 am9FmK8VdAaKt1BYtOA97lpmdfrxYtYlzF9EQv+Ys31qMsc0IJndIHIHNQAcQ759+q09 4arA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VEc5z4hg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz3si15246647ejb.142.2020.07.07.09.38.32; Tue, 07 Jul 2020 09:38:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VEc5z4hg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728260AbgGGQgY (ORCPT + 99 others); Tue, 7 Jul 2020 12:36:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726911AbgGGQgY (ORCPT ); Tue, 7 Jul 2020 12:36:24 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F9B3C061755 for ; Tue, 7 Jul 2020 09:36:24 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id s26so5021897pfm.4 for ; Tue, 07 Jul 2020 09:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=P+tEcuvDANaU3TFunPyWDY6whSvjt/qMfIX+MZZgXbo=; b=VEc5z4hgiiI3ZAzjq0KOY/WOP0UxDZ+hWick5n4yRumfLVVQEcBqt2cyhYsRbxbFPx SJbjYxUfoam3g90qUeF4oMPa/OQFa0AJ2jL24fCMzIan6hiHK+1+Vq029EDc/Zlby8Vt udPbyjjFuK0oKp1eljurXkOCeaj5IDFhr7x2h7ht70mbGNblCxWqFax6P4ooahnHPYfU wWhuCWmdHczaLn8t744/RHpRKyCcDo2tkrr0/1IwlwAxq7+GG6wlBrJ5U+4PXeiBTZBz rl3xbkLBWe8WbpQ2mFSEssH3o+QJC1IbB4ylG/Oggt0urgotGfLPiosbro8nVmyVNFbC JgPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=P+tEcuvDANaU3TFunPyWDY6whSvjt/qMfIX+MZZgXbo=; b=QRQuz8bYx3AsOHJ+kUptKBi1AHIY2hAE4WT1fweTrinz4mhmbMHH6iFEUWcMotkksT 7CZ0BlimJGqK/jzq3cDNLXq4kYpDGJwglirJUNVvpDTm2oLRtfnCksguA18YkU5kBiEo gCMa8dA9JXKAikdBD3n2sUHhZu6/kCVTxZI5c2RujYVpeHp41v5k2SvziS0HS+5DKBWf rIGbG9hvs77egJ51DEtHJyrRsUQQ4ZHoyu12jIS7LBhx5T6m1ySauRIr7Sq+Z0OlX896 ALZo2WVSwRM/z/YZ/mNrlAokVtP3vPujslSz+/6vYWGqYbdd3cvSPffvkvdSlVQcM8FB otKg== X-Gm-Message-State: AOAM532zjnsEKQr33yGtHFDCIyHv1eDMsYnwzBjc7qqimbwghd89Edr2 NA3p0aYt8T3vzQu1LIs+oho= X-Received: by 2002:a63:e23:: with SMTP id d35mr44007529pgl.435.1594139783774; Tue, 07 Jul 2020 09:36:23 -0700 (PDT) Received: from blackclown ([103.88.82.137]) by smtp.gmail.com with ESMTPSA id u74sm1444074pgc.58.2020.07.07.09.36.20 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jul 2020 09:36:23 -0700 (PDT) Date: Tue, 7 Jul 2020 22:06:09 +0530 From: Suraj Upadhyay To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 2/4] drm: mipi-dbi: Convert logging to drm_* functions. Message-ID: <20c4bdc75f610aea8c779aa075483e04f47b719d.1594136880.git.usuraj35@gmail.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Convert logging of errors once from dev_err_once() to drm_err_once(). Signed-off-by: Suraj Upadhyay --- drivers/gpu/drm/drm_mipi_dbi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_mipi_dbi.c b/drivers/gpu/drm/drm_mipi_dbi.c index 79532b9a324a..ccfb6eb1a29f 100644 --- a/drivers/gpu/drm/drm_mipi_dbi.c +++ b/drivers/gpu/drm/drm_mipi_dbi.c @@ -225,7 +225,7 @@ int mipi_dbi_buf_copy(void *dst, struct drm_framebuffer= *fb, drm_fb_xrgb8888_to_rgb565(dst, src, fb, clip, swap); break; default: - dev_err_once(fb->dev->dev, "Format is not supported: %s\n", + drm_err_once(fb->dev, "Format is not supported: %s\n", drm_get_format_name(fb->format->format, &format_name)); return -EINVAL; @@ -295,7 +295,7 @@ static void mipi_dbi_fb_dirty(struct drm_framebuffer *f= b, struct drm_rect *rect) width * height * 2); err_msg: if (ret) - dev_err_once(fb->dev->dev, "Failed to update display %d\n", ret); + drm_err_once(fb->dev, "Failed to update display %d\n", ret); =20 drm_dev_exit(idx); } --=20 2.17.1 --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7AbCa0kOsMJ4cx0j+gRsbIfe744FAl8EpHkACgkQ+gRsbIfe 744s7Q//dlnhywxEYAxmGVUZ1YniixJpFNn6Mvebnv/oUm/1HK3ryCrCLpaE+aZG /PzqnkGBPg4k8GwlG5ho7pcQaEo74iWw0SuBnlo7M4MqaZqkB58/+uoD1CKTeQ5M X62OosJ1jGcrQCAQYKH4vKkStgzPGB0pvByiNfzfVEsNtrWzMoxNnLluaEDOxXFR IUXreuk+tSEmidaXWx+zXxo0E85VHTCHtiLK1EeDUPDBX70ErcfIXyHZxWMbwP3F KqHJIaRQZ62J8t/TzB5KNROraZiB+9/glg8qK43YcK3TUOJJn0zjCOdKDeTcUz+z R0qVsLta3bpd2BUxyA6uVQjfSxi/f9LKHF5692fSw+oE+yeALL90q4ZIj/6z/NRs xLzg8GEu5KA2+fUFXZos0q5DZnt0kB/iYqs7sJTgh6Gc7qBBPgNjWzXkd8Qk2oKJ FYG3ieO8HFXgEuB+aYz3FgZS/sv7ygwG9BbJvwFY3JI2fqlxZJKK1knu3TBSRwwz eUWQrtiwcbhePCu9lRSmuXM/v0tiHE6QzEV0LrPlTeC6rqHZG3p37y/s7KWkECWd DiGShUhbRUuUBilYvJC86YcwM8Q/1O9chJrSLAkLUCEcDAwiXMPeLDzszxVx/dPe 3YRAAttDmeuwuRj0afn8wSimBTiduB9bnurGCZddgadYZgU4A8c= =zKPq -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--