Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1563730lqa; Mon, 29 Apr 2024 12:01:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtMYTftY+J356BnyCu7i0J+Uymq1QS7lP4llboIcBxEtFmGfkBCuZeQhoEDk62Ux08WJNcdwvMxp9yOw6PZx20+ZMgpcRoj4/5O9zI1A== X-Google-Smtp-Source: AGHT+IFa1X9MnQ6x2/p9Jrlr+CpCvhjy15hC1xWEZi8orrq0ISHwkpF6vWGMSSY/Ej9ajYO89eJJ X-Received: by 2002:a25:c713:0:b0:de5:9d13:591b with SMTP id w19-20020a25c713000000b00de59d13591bmr477924ybe.32.1714417287128; Mon, 29 Apr 2024 12:01:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714417287; cv=pass; d=google.com; s=arc-20160816; b=JVKLgoOTcPhuSJk6ut62W+RkUsmEOGCGnt7bAsHElEeno03Puo8lIs/DiNENlddf4k KRSKdqdUgvwAr91qT9rUWz9PCKEvMJxZ2og+ULkpqQOJ1YNJi++lCC/Ylm6/8Sn0EkMA zhdb6gUmwEmYL4goFGzTr01aIh8X+R8QiohNer1mBm279HYOXQ2ZRfpObhOIiIK9QLgx QYenOqduQMP1JiEDDxx6QDzW/K8CgikD34A68BkhIKvPXRGKxMCDHDTPv1L4Dy11U5Hv vNYKDKIFQ8RnaUoX1pOldmoQV48TE5JlcVrAHnqr+biznO8qj0JMYjUk3VKqIFZrk1+l wQeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=F+OOjPjRo623dIYYIWsxFcTXv4CTjfVgOyFCPn/JKfg=; fh=03xVuRGDb26Q93lT9slirpvui5RLQi5EetIxafJHGGM=; b=T21pObGQbeAhx9YuSOYrxu3Mh0KuOVvNlMvd9CwqTOTBgr+X4C7xoPwfuaYeBWKBQU ihlxWRymxGUz8BO12g9N74sWGIFxEIexd1HdlRriA1ZwcnYmT28BEJ87T+V4m1BsEHE0 19GOMm5G/KYEo/QBlV2w7J+5oZagFYKI4fQGiOVos6SK/BNVO9zN2sNUpzCMCquIlGhO qsIEGYV6NFof6xSs6buGG9+ytyUFgGGo9jt6jvRx41O1UQf9YS4hdiGQB2NHFGlD1w+/ vK4zNrzGYTWzCYAsu0/yBfeKa+zEICuc/Ulkijga4h1aMDD7o1GUztKnvXNvQ2qju/uM KdnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZaB4rAeB; 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-162869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ik8-20020a0561025f0800b0047ba76e9a8fsi5465317vsb.797.2024.04.29.12.01.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 12:01:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZaB4rAeB; 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-162869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162869-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 967151C20CC6 for ; Mon, 29 Apr 2024 19:01:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B39413BAE9; Mon, 29 Apr 2024 19:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZaB4rAeB" Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 36A8113AD1D; Mon, 29 Apr 2024 19:01:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714417262; cv=none; b=KzSlsXcKZqojbCOnTG8G4l2KLxk8a7eYDiAFGhdhA239JNPoKwATOrld7dnyGOLoYOBTfPj2BJZn2OZUucrD9jZjVNyUJ4fJW6AYjoyOyeWVX0to+w4dQLrgJSfbJDMEKF7VoOzQpB22ZNeeaFyYKXqRY8/vWive6y2LjMdBmH8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714417262; c=relaxed/simple; bh=e/EKtuPTPn4NChpsM6c21+3QDbDI1wDTorh6nJv74wU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YO0Cs+bAOSu2NR7wl6Sw4zWJjOzULePa37+zeVtz1ISeX1+fAibKKyta+b6Xb5G/UsryUheU897QOwtl+rf64dDDKSCOEZNhwLEP8InBbBKE2GQtO3WvnSJTztJSEhpufJRxJxjRYkDozwICiapUJc70XBVCFNOkfT+6NuozQwU= 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=ZaB4rAeB; arc=none smtp.client-ip=209.85.221.45 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-wr1-f45.google.com with SMTP id ffacd0b85a97d-34d16d204f4so931078f8f.0; Mon, 29 Apr 2024 12:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714417260; x=1715022060; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F+OOjPjRo623dIYYIWsxFcTXv4CTjfVgOyFCPn/JKfg=; b=ZaB4rAeBt4uxkCrlhymjQUsuktW4AX2DlB3z5hFEhvEvOPlexLoFkl8rsnzEfPLOuD YoOpyMTwOUjk6XQLkBlG4nJzmjLWhY7rrrvsYjxETzrqMAbgfYKj3tAxCJxBLrA+FEms RljJN+O0+tIajAUf3YxPi4MNBpGAtfeGvG6GrohTnCSPXaJ7I8Iqyzfo8Yh4GUzNuTjJ 6aXJ6o5+WQ+TLy9bKoGPDN6BF8Rs3uBM5gC/MfXozdMVVN6P7ZvOKlFiW00VxG62hRPd OFdt3aq8u1x0HAIzCwcaqWmC2vfRZ5QwbhQ7yLcM155Kk7P6qGFe1TDX05KCQbVMAPHW acaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714417260; x=1715022060; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F+OOjPjRo623dIYYIWsxFcTXv4CTjfVgOyFCPn/JKfg=; b=eXnyPZcYhZYeCg2zaWDR97R1YHlvESgm+2mto9lL1KiOXDFPYDQ4CIExUVk5SBNh+D Jjyj2Pe3aT5dVIpoxIVmaARMA6nqGjMyjHEGszTUQbqB615ENvLOi2EpZPf4N2j4wuGb 008oqZPlDtF2IHMqQI1ls119jyD7VI0WaoM7JwQw8ykVA5I93KBUFd0oS20nQFSbVpoD fEEXYYYN81h2Y/O9nhlZ7gQZQYribucIU3EQlefV1+ThMrSQbkm4jdSnLLwXX77lWZO7 AqIHCsCklWDWZZGXATg3PavA9OQTNmAAl+TJYnQWqfLmWY0hal6fVzeNQ90bAWcKfc7N JpkA== X-Forwarded-Encrypted: i=1; AJvYcCUISumM7UQW10HA1Oask5T2tqmf+UPfDjBp3nUrGm37qsydhXBybAjgpTSaTx3DUmcwNjFSIlnLf3YxSAuAcgSyYW026jDa/p4eQWumMLMqyZ0hJJIPAQ9PN5mF8ggXKhedOF6sP5ll X-Gm-Message-State: AOJu0YyKH+msl1U/4gm/M4EZju1b7xmV6HLX8vlGv71ZAjOXNqbNvE7v NvzpVVMVR6nHgzpVzH+MCrMpk9zWXw8onKZxLGmsrkjiGbUdwSFl X-Received: by 2002:a05:6000:8b:b0:34c:8673:21f5 with SMTP id m11-20020a056000008b00b0034c867321f5mr5295641wrx.38.1714417259599; Mon, 29 Apr 2024 12:00:59 -0700 (PDT) Received: from localhost.localdomain ([2a04:ee41:82:7577:abbf:c98a:cf84:d14c]) by smtp.gmail.com with ESMTPSA id x2-20020adfdd82000000b0034c78bba70bsm8469456wrl.72.2024.04.29.12.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 12:00:59 -0700 (PDT) From: Vasileios Amoiridis To: jic23@kernel.org Cc: lars@metafoo.de, andriy.shevchenko@linux.intel.com, ang.iglesiasg@gmail.com, mazziesaccount@gmail.com, ak@it-klinger.de, petre.rodan@subdimension.ro, phil@raspberrypi.com, 579lpy@gmail.com, linus.walleij@linaro.org, semen.protsenko@linaro.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Vasileios Amoiridis Subject: [PATCH v5 03/10] iio: pressure: bmp280: Add identifier names in function definitions Date: Mon, 29 Apr 2024 21:00:39 +0200 Message-Id: <20240429190046.24252-4-vassilisamir@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240429190046.24252-1-vassilisamir@gmail.com> References: <20240429190046.24252-1-vassilisamir@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit checkpatch.pl complained about missing identifier names in the input variables for some function definitions. Signed-off-by: Vasileios Amoiridis --- drivers/iio/pressure/bmp280.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/iio/pressure/bmp280.h b/drivers/iio/pressure/bmp280.h index 91d4457a9230..fe4d3f127954 100644 --- a/drivers/iio/pressure/bmp280.h +++ b/drivers/iio/pressure/bmp280.h @@ -452,12 +452,12 @@ struct bmp280_chip_info { int num_sampling_freq_avail; int sampling_freq_default; - int (*chip_config)(struct bmp280_data *); - int (*read_temp)(struct bmp280_data *, int *, int *); - int (*read_press)(struct bmp280_data *, int *, int *); - int (*read_humid)(struct bmp280_data *, int *, int *); - int (*read_calib)(struct bmp280_data *); - int (*preinit)(struct bmp280_data *); + int (*chip_config)(struct bmp280_data *data); + int (*read_temp)(struct bmp280_data *data, int *val, int *val2); + int (*read_press)(struct bmp280_data *data, int *val, int *val2); + int (*read_humid)(struct bmp280_data *data, int *val, int *val2); + int (*read_calib)(struct bmp280_data *data); + int (*preinit)(struct bmp280_data *data); }; /* Chip infos for each variant */ @@ -476,7 +476,7 @@ extern const struct regmap_config bmp580_regmap_config; /* Probe called from different transports */ int bmp280_common_probe(struct device *dev, struct regmap *regmap, - const struct bmp280_chip_info *, + const struct bmp280_chip_info *chip_info, const char *name, int irq); -- 2.25.1