From mboxrd@z Thu Jan 1 00:00:00 1970 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 CB0E9C4345F for ; Sun, 14 Apr 2024 10:25:23 +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=ApEXq2x7+kinlwFdnNurKxlQ5UlIUjN6MqJg+NynJZY=; b=FpxDMr9OP3Gbhx cys199mzTWPpJuHNTN15O8pHzTvQrLEg6J8fpbuMckNBe/mLfJoVZIXSIQMIHh7hjXKBBSyQ/3XBf p/3Vze+g3MBbgHVxYdl5SBci6fWWLXrFkOhhk4sEfYqbBhsEykHk9i9lGoyTUaPLmatVpgGX6a+xt W+7W4r8K6mRAUKqK7ioQg7XQY7ecLu0cVLFojpSjuLXyDlukBjYwT2+llrfNLGt0eQI23k9yVoIkE LqRx8ND3TiU/AWRaD+064XhNTxgWbDPD1RwbeZrLwsTwwarhDnDZXPorvPrB93tatDp1sR2sCW6Z1 68qcHZC+/1QtsmwA+dQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvx2t-00000005G7u-0DCP; Sun, 14 Apr 2024 10:25:11 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvx2k-00000005G5v-3UTh; Sun, 14 Apr 2024 10:25:08 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-6ee12766586so1474587b3a.0; Sun, 14 Apr 2024 03:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713090299; x=1713695099; 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=DADHOWnUNYP/9/v99Q0bIFc3ha7reMyzoz3vmz/f54w=; b=llIeUWsPVMDRhZHT6BhnvdXCC3hoFQgO/1uDRxenOH1Mm0IRBz8YrH9mTy27hOplSi 1/V26SbZv6vKkjwmYxJQUIpamS5qzbzz6CcHOJeC7vc35OG5BlazIxBKZ/hulrfzw+CJ vBdt7MjH6t5DLNPKFrJuiN9Yp5wipEA95vMzEV2znxYX3qHm+fNi7Th8h9mg0qL65Nkn 99IqMgdRFFOWBIhWFzf54j2qGrvTI15QpQL6o4QRAUbpC7RqmldhGAyvyNTG0Ln9sZAw 6mqoN+qzGZ4THyqn1llyYHvP57pObTEyrB+0//b6t6OTSwdN0aEPk71f4oepI2VKwgqs 3IIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713090299; x=1713695099; 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=DADHOWnUNYP/9/v99Q0bIFc3ha7reMyzoz3vmz/f54w=; b=emEJjn5j6M0hkceb+TBYXCa2XdQsBedZtWx+rwrwsByEJJpg6pZ72ovv8lUNho0D2c ZScCrEujhWGO8OzzAKJHEbb+heovTXHQZq3nDidWk4rDdwpW3Nmzaqat2P/dW0a/A6eS +DZbvK37RPTRdCpLmxt4DgZJIT7cyu7PjtksFOCF9mo8/xVuGGn9lfqIXjPN/n6mZU0o 7pN+xF7QuZTVPQRlOAPuroCYrAA4nBYiQcO7dUWD9qiv6M01EPj3EZ2JOGB/oj20gLXd jkYR4eTA5+ycfL9HkJOGv0g3iTlRfmUdQqQWva8lPK+Jsw8xa9cT3loij5oP5QiT/eJH GoSQ== X-Forwarded-Encrypted: i=1; AJvYcCVbDOtWC386g8LE3eR6IKAOnSt7WX2XKdBlJfkJLqVZNZgGSjNCJUnRyRzpw0r/7TqvhPn3P/Au0hc5eJBzbe/IS3mIHkWebSDLDt0SpOZovV0dP64= X-Gm-Message-State: AOJu0YyYiZ/2WDKxc6/y2ajf4nCQx9YcPGXxzq2iueA+LsdU17cyoWih CkDLP8WPUGx5SJy7OJIs7Ae57KDfHEWKRw12yAuqD6CBmBPLgM3x X-Google-Smtp-Source: AGHT+IFo+3A88+eErsb0hrFDYgsGA859sSv6X9J0eSGBHL9qSAzFushHa4YDibASL+DuNgxlqQFy3g== X-Received: by 2002:a05:6a20:3241:b0:1a9:9839:f209 with SMTP id hm1-20020a056a20324100b001a99839f209mr8824592pzc.0.1713090298867; Sun, 14 Apr 2024 03:24:58 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1cb8:5ab4:8eca:a8e7:b24c:7514]) by smtp.gmail.com with ESMTPSA id k187-20020a636fc4000000b005d6a0b2efb3sm5233452pgc.21.2024.04.14.03.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 03:24:58 -0700 (PDT) From: sumadhura kalyan To: florian.fainelli@broadcom.com, bcm-kernel-feedback-list@broadcom.com, gregkh@linuxfoundation.org Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, sumadhura kalyan Subject: [PATCH] Replace function alignment of camel case by snake case. Date: Sun, 14 Apr 2024 15:54:42 +0530 Message-Id: <20240414102443.98927-1-opensourcecond@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240414_032505_130782_362AF166 X-CRM114-Status: UNSURE ( 8.91 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Issue found by checkpatch Signed-off-by: sumadhura kalyan --- .../vc04_services/vchiq-mmal/mmal-vchiq.h | 29 +++++++------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h index 09f030919d4e..98909fde978e 100644 --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h @@ -42,8 +42,7 @@ struct vchiq_mmal_port_buffer { struct vchiq_mmal_port; -typedef void (*vchiq_mmal_buffer_cb)( - struct vchiq_mmal_instance *instance, +typedef void (*vchiq_mmal_buffer_cb)(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, int status, struct mmal_buffer *buffer); @@ -101,31 +100,25 @@ int vchiq_mmal_finalise(struct vchiq_mmal_instance *instance); /* Initialise a mmal component and its ports * */ -int vchiq_mmal_component_init( - struct vchiq_mmal_instance *instance, - const char *name, - struct vchiq_mmal_component **component_out); +int vchiq_mmal_component_init(struct vchiq_mmal_instance *instance, + const char *name, struct vchiq_mmal_component **component_out); -int vchiq_mmal_component_finalise( - struct vchiq_mmal_instance *instance, - struct vchiq_mmal_component *component); +int vchiq_mmal_component_finalise(struct vchiq_mmal_instance *instance, + struct vchiq_mmal_component *component); -int vchiq_mmal_component_enable( - struct vchiq_mmal_instance *instance, - struct vchiq_mmal_component *component); +int vchiq_mmal_component_enable(struct vchiq_mmal_instance *instance, + struct vchiq_mmal_component *component); -int vchiq_mmal_component_disable( - struct vchiq_mmal_instance *instance, - struct vchiq_mmal_component *component); +int vchiq_mmal_component_disable(struct vchiq_mmal_instance *instance, + struct vchiq_mmal_component *component); /* enable a mmal port * * enables a port and if a buffer callback provided enque buffer * headers as appropriate for the port. */ -int vchiq_mmal_port_enable( - struct vchiq_mmal_instance *instance, - struct vchiq_mmal_port *port, +int vchiq_mmal_port_enable(struct vchiq_mmal_instance *instance, + struct vchiq_mmal_port *port, vchiq_mmal_buffer_cb buffer_cb); /* disable a port -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel