From patchwork Fri Feb 23 14:58:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Kayode X-Patchwork-Id: 205453 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp635707dyb; Fri, 23 Feb 2024 06:58:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW0G9sufcHm8aEzvyyNd2B4AsXv97zyJ2Zre1lO+1f9cmno+dDa4FwVoCkHdWBWEv6U1DRBxFTmGEUHeclAuROCN7r4uA== X-Google-Smtp-Source: AGHT+IHbYG5SZv7YQvHAYSOx3Ohb9JBtULb4L0ZAZWzJiv0fZk4cwW17/AClBk6i0J95RsCgwYOC X-Received: by 2002:a17:906:a44d:b0:a3d:9a28:52e6 with SMTP id cb13-20020a170906a44d00b00a3d9a2852e6mr35ejb.50.1708700312770; Fri, 23 Feb 2024 06:58:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708700312; cv=pass; d=google.com; s=arc-20160816; b=HBkux6VTIgb1JEGNbZnozwLr46xI5ELwGs7gv5SuBmoyZrPm+CoRRUGQNaks6wToXJ sotMeaYgUAA10HHGY2EZs8viL5nwGVk2iKApGXcGhkmoh5PS6tFFne6cn2vdthr1mCSV hT1kxMTmRWcjEll3SsRbG+gvhnjCbAeEUxdndzN5jkrPFz8XKtKDHlEFO3iIM5XEa4b2 Gx/PXZ+0/P3BEYIGPTctuUUMdbGFLfLm/oFzlYZi8V9mcGojrdGQkzft8w5pKzY0b7vu hA/BYMeax4UT5Wlrp8ObyR2uqdMoasJBVB2YzpXE6nyuP8BVqcmAtY3JXRQ+0Nr4k3li 7y/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:to:from:date:dkim-signature; bh=4NDgszGodt3V3j5Lshn/mpqkCU7z4gbtXsqxc5uCqIs=; fh=WRDpfuJtFZHk7c/Qx/uEyc/V1Ma5nMQgFogLaUgmN8w=; b=Z3fxxMCgEuK8Tz/zitQaSXhrXatKN48vafzgKMz0XBYHol1dBU76SbMze68CIT7nxA v/zYTak/KUVOHqTEaM8sIcVZLyDfl3ZFaVH83dEVeJVigbCbqiZq5rcDLBO69VFu3Tbg gDy/qD8oaN9s94oTjIyGuT5uFMrpnD1/GAPbxl5W7eN1hRlO0wk9y2j4hrQ/cHeAHlsZ 8Q+BdUeQbyuioG36MOpCmWjprnF37hPrlWa0U8Q3oS0PNK6WEqbLqOncfo/XVIIWyCfz vo3NhbKL8w36W7mMZO/C/R8+aT+eae7sl6CVLOVWbH8azUEqP6qmPDO1csLX2QoeG+oV BumA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mHqGNexv; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-78556-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78556-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i10-20020a1709064fca00b00a3fcff2e996si531466ejw.86.2024.02.23.06.58.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 06:58:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78556-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mHqGNexv; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-78556-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78556-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6478E1F23AE0 for ; Fri, 23 Feb 2024 14:58:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 955B68061C; Fri, 23 Feb 2024 14:58:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mHqGNexv" Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A2235224E8; Fri, 23 Feb 2024 14:58:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708700298; cv=none; b=MopD/0QtkZzhZaVKin+gdgSpj8ItXgtt0H84EQ3hOKTDzDpj4KuTndjT1k5NfxKouHv177hcmemEhv88ijPKGnL0sd9vrcxCWulwzqc4pONIDFCcRduPtI9YpVTBoLewGaovOumWtYwu0QX9qD/FBuG59SK6gKzec9S3iAZYa0U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708700298; c=relaxed/simple; bh=e/c+ZP0Jj4k3w0h5haFdrTRJ1bfgB9ofQ999qSO4ojE=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=s7T3mqH7SgJSZ/HCvN5TYUtHv3U0uAJ0TP0AEB5a7YMeYfZ4fWRxS+uhoqoYLzr/ugCRdoU/XIz93je1sSLunj3PQKXOtRr1XE/HmonL9/RclXYX29W1QXvv03uXgUmrSRf6TFPGiUJyXc9/KtHaz1ouXTZ+SiVpgvpguF3CfxI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mHqGNexv; arc=none smtp.client-ip=209.85.222.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-787ac650561so46934085a.3; Fri, 23 Feb 2024 06:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708700295; x=1709305095; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=4NDgszGodt3V3j5Lshn/mpqkCU7z4gbtXsqxc5uCqIs=; b=mHqGNexvWpeU/ZgOiIQTs2aPWEXsfemo6w+GBxcNwBBW6M+JC6yWd2JO+My244pBU2 grJfTMMkXD4E97441OyjOO6fsgd4evYiIULqvs8kGcjEzcMhBUSFbOnuSdaBjNmPRzpi a2TM7KCT7ILcll82iYZpUbaMFnicdDuXPySneK12evUh9Ez0596ChQwz6tkKZV7rDHry XkoCZC+pNPp/2Z13mXVVDuvx+dozy/rXUKAfNSCWA2oqKHHflht9jj1AUPmnCKQcISdZ YzecxUPDA/67JZaD5rWghKHMhB5budsv9n3rijfVXnm/hVz5Djv8/pFcMMjQHskHprtV q5Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708700295; x=1709305095; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4NDgszGodt3V3j5Lshn/mpqkCU7z4gbtXsqxc5uCqIs=; b=VTJqspGYSQwUYSXojzNcASV88q/jndHv0RHyuRSoyjguvzjXzNS6ZpJ9OnzfJXQch4 /73JDaS+e7FwNb6qUfdLIVGf1rMNQrZmXjogRW9BmGj8GBST4xGJxmQ+9Vw9YH2J5vFg CgPdWxvsX+OfKjks0piXLPwD3yHD3h3nPj2uyucFvG4MovpMR3GzkoQPyrUWYPnF+42i 25lSlkZvmRMa2T6vXF4JvrLLecjfBKqfYD3c4CChnegmXOhNZbY08WS/mA2gOItHfd90 SOw7wMq/2ecIS36tnrUKV7zZ54Nauq8gZp+mD8XvL1igVJc2EJ+t32GLuI4if2oECN2o A4LA== X-Forwarded-Encrypted: i=1; AJvYcCVLWI/H3JY8ZvnETbyQNSCgSFUYIJerWOgH1xIWebuYnF4rgSixOybT/4nqxV0bbtqz8IF7wp2C2fqTS+G2NoyG1yqFpAdayDTr9KTwnQ3cFznf0890kHoVeVPaJrB3ZLUJc2k3Ef0y6Q0= X-Gm-Message-State: AOJu0YyRSNrnhR8vJIueVXw6WF1BiJCaH2ouoxtEloVUoNWYahmIqoXZ 8w8CPVFUOjfohHe20gSDn2BAeGSYdwhkVEnZLdb9HunQQbY/KPYq X-Received: by 2002:a05:620a:4692:b0:787:746e:5ba8 with SMTP id bq18-20020a05620a469200b00787746e5ba8mr48329qkb.13.1708700295326; Fri, 23 Feb 2024 06:58:15 -0800 (PST) Received: from Wayne (host-24-138-28-86.public.eastlink.ca. [24.138.28.86]) by smtp.gmail.com with ESMTPSA id wa23-20020a05620a4d1700b0078742e741cfsm6552865qkn.61.2024.02.23.06.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 06:58:14 -0800 (PST) Date: Fri, 23 Feb 2024 10:58:12 -0400 From: Samuel Kayode To: Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman , linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: sm750fb: rename function deGetTransparency() Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791702139061439049 X-GMAIL-MSGID: 1791702139061439049 Rename function deGetTransparency to de_get_transparency to fix checkpatch warning Avoid CamelCase. Signed-off-by: Samuel Kayode --- drivers/staging/sm750fb/sm750_accel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c index 44b9e3fe3a41..ad9d8bd34e5a 100644 --- a/drivers/staging/sm750fb/sm750_accel.c +++ b/drivers/staging/sm750fb/sm750_accel.c @@ -284,7 +284,7 @@ int sm750_hw_copyarea(struct lynx_accel *accel, return 0; } -static unsigned int deGetTransparency(struct lynx_accel *accel) +static unsigned int de_get_transparency(struct lynx_accel *accel) { unsigned int de_ctrl; @@ -391,7 +391,7 @@ int sm750_hw_imageblit(struct lynx_accel *accel, const char *pSrcbuf, DE_CONTROL_ROP_SELECT | DE_CONTROL_COMMAND_HOST_WRITE | DE_CONTROL_HOST | DE_CONTROL_STATUS; - write_dpr(accel, DE_CONTROL, de_ctrl | deGetTransparency(accel)); + write_dpr(accel, DE_CONTROL, de_ctrl | de_get_transparency(accel)); /* Write MONO data (line by line) to 2D Engine data port */ for (i = 0; i < height; i++) {