From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 914442374C for ; Sun, 14 Apr 2024 10:24:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713090300; cv=none; b=m1LX51KxsXzjzlKE6qKUxInbt+rs49AELAczcCHE12IAuIMIDKV6PGgrRqaqioQiTWFcqeA8WcMs5HDozH6A6d5q24luGkB/w6j6nnlykGbBE439ALbVfeaC0y4MFjYF8YYOLJH9tMqthloJtn+DO/Xt1yUhKK5GIyUW0JLgDJ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713090300; c=relaxed/simple; bh=JJZlIn2mvmHgMJDDfAZ1JdDcw/dwxd99aCw9whf/RG4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=C6fzk/JZRsU7qp9Y3WxaDzQq/+L5XWmerH4oTXG7n0VTobZCFjkYjekVWwrC9vOJHhaAtHb89cfa3oDd4HBlFPpmbomYxcI6aMiif7R/onjn9zyQPyRQ0G6zZHXiYizKbFJKD4BbAqENNhzuueRe0pswb7zZClZ8ibrSX9zRitY= 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=CAb+9wT8; arc=none smtp.client-ip=209.85.210.172 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CAb+9wT8" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6ecf8ebff50so1421810b3a.1 for ; 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.linux.dev; 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=CAb+9wT8LQ62W39PNEW+mzMgFlbu+ofDy1BBcSTppan0MyEirDswwrp+rYxEiSgnEf wyBn8iripWDpDdqgmg+HYz9BaqTftNvLgCFtKnjzMjGpLt0rkXEUuVoo68uhiufIS3Qh fQ+EYPFWlN+hAJXxmN8FwEElIslo6S28uJod/h87LA0fTT/V13YfKcWy+Owvt+syTuj+ Q5iU48+Ne1YLCjE5I2oj7nIN0dhXbDShghJU7v0asTZFbekejhThia/kgzDm7KH3HhvN dj+IFwo3bDUwp3liAJCba5qb9wNT881ZBwb7VB/Ed2WcHA/d/VcXyTPkmda1f69kz36u nD5Q== 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=BhiedleYapxos64nbl0OG2oWWA+GtbbNe8Ubvnn4lSFDZ+2prZParZQn9Qb6lJ5pNb TX0rRZ8WZflue19oKcJFmEPQFTcLlcYsJ5KrYs57v+9ZRBlZuakzYJXSlYpWaoGOMREE HYbN/kVMvvwaiND94ynuTBxSGG6C38S0ionzTcXOhXSXlgizP+qpgn+AMwGNl+6NT3sD uHPqkM9lxlgXgmqZ314lmCYEcE3Ntz001C1k6oo9lNuBhBiawS7LagdRqIiBLt4oTuOd MjGc+myO6c6OhqTGVeDNAEWlC9jGx+9Zme6uDXkrnIFR9kjKtkpwna01RfquyneQiS85 pg/Q== X-Forwarded-Encrypted: i=1; AJvYcCWvxfJAU4sz5kbeA5EvQnWADXXVk7JzzelZjz3toXe27XFurs/VqeNZ0W5l9Cav472d3nbdEo30YDX8ufN2E2SEUQfq1y+ExPpgOhuWPw== X-Gm-Message-State: AOJu0Ywy4Pw40oVZUcJK0ba6jQCl6vsoc1pTdB2ubwWHODzNsmuc1pfx UqZK8t4RxVfizHsMKxl/TQ708RIjOf+E5AVYxH/kCivmLmXtDzmtuxUHaSOV 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 Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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