From patchwork Sat Nov 11 10:41:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13453051 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 777CDC4167B for ; Sat, 11 Nov 2023 10:43:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7m5x2wMTBLF/WFls/qEFi4Y09JsGlsOOzD1vllDpkZ8=; b=yjHlEjYXDjv2qj mI+fcKYO1duRhRptzDf378b9GA9cxrIJcrXKZhjPImXLPq2NQKqLsW1HcMBFjT1NNhpvFrKVXEBgZ 9uiEBTnivq9wj45ThL3iEr3zkyabuQo/gc6lnKZVjSg0SkoOwV2ZhSucc54GSWE1Iufc50J9AIJz3 jCLawD1SGC5q6KA8f4OtVFwA7P367N8cy3mnMMzfOm9FtAyhiIUG5VSloeLvvKP3YwU4cboMdr9nI AQyE7fEZP/9qRkD485FEiCHhV1NIZXgk1RWylGJZjmm5BBWAOVx67bbWlWnSnhiu2N6EE3EXiOJUX +aC4KGJ/Ndv9+/+RMWMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r1lRo-00AMAk-1t; Sat, 11 Nov 2023 10:42:40 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r1lRm-00AM9o-1h for linux-arm-kernel@lists.infradead.org; Sat, 11 Nov 2023 10:42:39 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9e62ab773f1so215569366b.0 for ; Sat, 11 Nov 2023 02:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1699699356; x=1700304156; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ge0gNi9DVXfC2vKDgGEclw0Ori58fekABd1HKK5RJHA=; b=eCgZtw99qFJaxo8NVT3YaGFTeQzfUMnGkVOUD2Fl/us3lySQXC843PB8n7NVtzKZMt mraogWchR4Az8ONBwLqSTke3ogDFm8KXklLroZvMmUoTazeDUK3EX9BAl/vVfaFrPqGO kfR76nLAB8h0Bfej9PBTa5s4IhMg4hqJarc1s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699699356; x=1700304156; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ge0gNi9DVXfC2vKDgGEclw0Ori58fekABd1HKK5RJHA=; b=KoV5D2JfNsUIcokrRDnus4OrEL5RjMxzV5MEw+AhAh3z2XesHAwNHdacyiUKxlHgvL 7fcV4l+0ARcZj6WZusdnoaNO2UlpKQ/9JVyhsHdakOU6KCDHd8g9KDI4yCOv9qtNoYdY xYsHP9tKWyZdKd+H8QMc8prbHwZNmdCYMuTWg1NfydZxXjhjpWt+HNJbR3cejdEz7ShM BjugeTsbMG9J+bojfDIo9+6/s+xD8zODBIpmqXj+m8jqAOSTgTgPzL23kdbsiKHR5nI7 b5E+Y1g29fMQFZTTdnQf57X9AyZ9EfG/ROorU79V5mLfL6bxnh6SliKZZvmnvK6JoVpR Q8cw== X-Gm-Message-State: AOJu0YzMPQwu6+BadXGI51RZasCzfdgzDlQpmrqpRaiz5BVNB+3geijv wWYx8S8FnB40gpiGZ9TIp+kA4w== X-Google-Smtp-Source: AGHT+IHi7umdHJSN/J3vKG6LIaXqc2IzKyZTj5K72HPZNOWFZKca+Sq8nOJ2Izx28leKgWLIeRgloQ== X-Received: by 2002:a17:906:4c84:b0:9cb:5a8a:b19d with SMTP id q4-20020a1709064c8400b009cb5a8ab19dmr929295eju.5.1699699355850; Sat, 11 Nov 2023 02:42:35 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-20-97-182.retail.telecomitalia.it. [79.20.97.182]) by smtp.gmail.com with ESMTPSA id ga33-20020a1709070c2100b0099e12a49c8fsm872183ejc.173.2023.11.11.02.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 02:42:35 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Fabio Estevam , Helge Deller , Martin Kaiser , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org Subject: [PATCH 00/10] Fix left margin setup and code cleanup Date: Sat, 11 Nov 2023 11:41:49 +0100 Message-ID: <20231111104225.136512-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231111_024238_581237_699EB66B X-CRM114-Status: UNSURE ( 8.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series was created with the intention of fixing the left margin setting. At the same time, I made some changes with the aim of making the code more readable, as well as removing the errors/warnings reported by checkpatch. Dario Binacchi (10): fbdev: imxfb: fix left margin setting fbdev: imxfb: move PCR bitfields near their offset fbdev: imxfb: use BIT, FIELD_{GET,PREP} and GENMASK macros fbdev: imxfb: replace some magic numbers with constants fbdev: imxfb: add missing SPDX tag fbdev: imxfb: drop ftrace-like logging fbdev: imxfb: add missing spaces after ',' fbdev: imxfb: Fix style warnings relating to printk() fbdev: imxfb: use __func__ for function name fbdev: imxfb: add '*/' on a separate line in block comment drivers/video/fbdev/imxfb.c | 179 ++++++++++++++++++++---------------- 1 file changed, 102 insertions(+), 77 deletions(-)