Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6080596ybv; Tue, 18 Feb 2020 09:29:01 -0800 (PST) X-Google-Smtp-Source: APXvYqxzU/n7AKoJpDE6+QCPNytkAOJDQ/1s9E98FnWihUPFFsHSFTbvpP2LQ1Sku5JGLwmEdY3A X-Received: by 2002:a05:6830:14c3:: with SMTP id t3mr2623187otq.213.1582046941246; Tue, 18 Feb 2020 09:29:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582046941; cv=none; d=google.com; s=arc-20160816; b=yd0+lsomgDXX7QidkKh3SbZdrzpY7akGioqLbDS13cjGUwJl6v/3zzubUdvSWp+tuV ia7IiCxszCMnTbgHPWwFbpomJdGwSj9Zn4Gvy3aDOL2dJNXDYTGDgTvgOehZH5P2vys4 tqIZUDYYGj6gG/GEfa5uAUp9VIsGc6/BBfoMg2p4P0HXcxItEALo6i7LC5W/3IvDzU1s Cb2aJ0NyKFC9DtuiQENBVhfb5Vx6SuUzIsc4CpU4ceY7IjeNu0x6IT14IrMfNIZmRooe 3LB6E0DaqUJS7noktLIZLOTbekTNOyzww/FEwBpRWFCQusbFfpD8TUyXeRNv2KDlHbRd 9/WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ie5YGPYxd8lGggojJkvA6bITgwj0tY3zWA881s73+aw=; b=GsOX6SyCBhtvR74SNz+Zm3dpvrjIN1h1trFdzjx02tShZyR/wNcArC8H9qA2GJeSeL SzobYOW+6uIs/CaakxX7rk9pzgjXv/QGlwNljPbKCk62GHW6n2AOMdKtMONPL2xk4jZ8 6MUolKrgtLUPs0B9D1uQhnaYV2bOIMWeFX9qZqzVbl2wEsILDT2JWAlpA3hQ40l38RPe 9/SHy3sFjQDfTFgLKwMM1RuByI7nuf2dDzUOKUOr3DEv/ZW6Rwbv9lnNW8tzfdv3uyoa J77cwj2B5JgkehLY81SFZrZSEpcHKRKkN0MC5Jmfl3BBOjSg9QOYF8olfrLx1V+zc3rU vyig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uevSn+j9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j70si8993709oib.219.2020.02.18.09.28.49; Tue, 18 Feb 2020 09:29:01 -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=pass header.i=@gmail.com header.s=20161025 header.b=uevSn+j9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726865AbgBRR2g (ORCPT + 99 others); Tue, 18 Feb 2020 12:28:36 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36389 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbgBRR2f (ORCPT ); Tue, 18 Feb 2020 12:28:35 -0500 Received: by mail-wm1-f68.google.com with SMTP id p17so3833485wma.1 for ; Tue, 18 Feb 2020 09:28:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ie5YGPYxd8lGggojJkvA6bITgwj0tY3zWA881s73+aw=; b=uevSn+j9agd4NIGL1xvTzNef3JpFjWh25FoMaLWR7noN8FpOOjdrTu1/yWss/4GUvs aRbwOiDPK5p5Y7CS/jAnFupVAfywCQtQ8uDECPMKnxSp9fut+BezKaonLeH7i/I4ffQq /EGU5E3QQGqsv+Ukk3jhGyRaQJeq403NFp4Vi0/M2wxsdbatjKTXCOmwRVS3p3chVUbX 2zE13WHmRTYAaLmLl/PEe4qY0oy9Ein0QWAQntyPM3bF7L3zqmsQMZ2SSR1hae04NvcY k0sRW+qYoI3G/nb2t2Ft7YnYHbNgtAZb6mS2Vqhxb68G4hGhndap7ZWc/O9u9ddxK2gV fm8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ie5YGPYxd8lGggojJkvA6bITgwj0tY3zWA881s73+aw=; b=ZdXzNCpO8+53pB0Xxl9J7wnq9V17+L6MT2mLhMULRTmLH1EmGMBSfbHUQ4vGZy2WaK uDzcOrWooAeiDPhhnB1eOHUMAnJvJwdF6R5ItZ5IJNqEyQN9h5yQgh+WSMZbofEGlwg7 2mu2RML7Xm73l0KNVQrR876Sr0Dejes/HxDkicvfqKcfZq35tIclEZvbLkBNkPBtQF16 sj2hWr19l+TWEPkmH5MXOIOkg9FT75x+mjv/m3FtRaNCAw404SsJQtkh2914PL64gNzQ rEyXb3WZw/jlDCMFqq6fYi1JZs5sHGo7uAudbMFvKuPhY2ZPtm7v7Wl0qSBcOsvTlP+t sR5Q== X-Gm-Message-State: APjAAAUYBRx/alJ1LmtJnqKi9DYPPzxTZXpe9imJsu1qKdE1oK1QIrRk rLZIxCx2Bl6dYssPYRSsMBg= X-Received: by 2002:a7b:c389:: with SMTP id s9mr4043429wmj.7.1582046914607; Tue, 18 Feb 2020 09:28:34 -0800 (PST) Received: from wambui.zuku.co.ke ([197.237.61.225]) by smtp.googlemail.com with ESMTPSA id t13sm6998757wrw.19.2020.02.18.09.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2020 09:28:34 -0800 (PST) From: Wambui Karuga To: liviu.dudau@arm.com, brian.starkey@arm.com, airlied@linux.ie, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org Subject: [PATCH] drm/arm: make hdlcd_debugfs_init return 0 Date: Tue, 18 Feb 2020 20:28:13 +0300 Message-Id: <20200218172821.18378-2-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200218172821.18378-1-wambui.karugax@gmail.com> References: <20200218172821.18378-1-wambui.karugax@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As drm_debugfs_create_files should return void, remove its use as a return value in hdlcd_debugfs_init and have the latter function return 0 directly. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/arm/hdlcd_drv.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hdlcd_drv.c index 2e053815b54a..bd0ad6f46a97 100644 --- a/drivers/gpu/drm/arm/hdlcd_drv.c +++ b/drivers/gpu/drm/arm/hdlcd_drv.c @@ -226,8 +226,10 @@ static struct drm_info_list hdlcd_debugfs_list[] = { static int hdlcd_debugfs_init(struct drm_minor *minor) { - return drm_debugfs_create_files(hdlcd_debugfs_list, - ARRAY_SIZE(hdlcd_debugfs_list), minor->debugfs_root, minor); + drm_debugfs_create_files(hdlcd_debugfs_list, + ARRAY_SIZE(hdlcd_debugfs_list), + minor->debugfs_root, minor); + return 0; } #endif -- 2.25.0