From nobody Thu Apr 9 16:35:12 2026 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 E9EC114E2F2 for ; Sat, 7 Mar 2026 07:16:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772867815; cv=none; b=TrOFJsMeINtmAnPlUzRpSLLjcDg3Qh4CSMB92R7pgAKKcGWNFoIjQbr98xw3agRT3IZBxb36pp3+Pn9oeIZIH9oYuMPpsWwaSAfASKgKTNKAvJnGLapCf1B8JoA6UbRcQcnA7xWSaUZ6Q0meAHbNbjrO8MB320cWHJHRkJbyXLM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772867815; c=relaxed/simple; bh=UgtuvNuuCpf3OMp6KXUhZ4/C6amh9pWSM9108LhmcQg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PgHxoA6qNtOedxu1EB373lubwCXOaAJAYEKn14GZ09svREms4lMSRjQZvJyEmcP+QlFMvIPFCY92JFtF0DoEw09HQFKzdGRRb0Uj7pnlwkQQwMev8l1W8SsSHtSetxDVUxIxupGbeuvPXlD1Ix/f/q0tkZQuLILZZkXc62ls20c= 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=Po3Yy/gd; arc=none smtp.client-ip=209.85.221.48 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="Po3Yy/gd" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-439ad481518so949395f8f.1 for ; Fri, 06 Mar 2026 23:16:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772867812; x=1773472612; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MqMPHxhvDaU8Gqkt8uyyZpAER2QYZh9+IUNdHsWoCb0=; b=Po3Yy/gdop3ym342lTuO63v1YDiEIiU+d3QSTiE5mjxzVhBN5QDjKkWbivgXPfDKPA bnv+QHkBEDoe0/jDD4eRDe634/B35zbUbxXaUPkHzZfi6I/tZnfaGmf5wBmMOZwvhuQ9 5HB+yXjfXCKDkdGs5vosiVfK39ZMFBCi5yMnKHI8gmDwP7X8QbIJnNH3uNlY+yyb/qT/ aF8VbH2Fpy/SI2Ld6ThhT6IaEjRVyVfztyrE+FmW8xn4cHvbeey0Gw5AQMFKd/Ogj/rr kSUamxO538++woviOcMOR1cpKdXiJj1oQJwMb7abVU3IcaCD09CSiu4l4ip80oDMowlf 1+xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772867812; x=1773472612; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MqMPHxhvDaU8Gqkt8uyyZpAER2QYZh9+IUNdHsWoCb0=; b=oZLH0TLLkN5O+vTONa276xrvfsoIpPM1hvjDvK3YKi50GgVYg4WV9cqbL3TLELK09S zIi3j99vWKUrwWYjDJ7zLq+eQve2T2ILCc9JYq/PcLHhkpPgpkfDAoWhWukiirnmyZEo D2ubaRWdytlXJUUo6tVMqTwoqnu1vO1sDAnUdpvr8hPy11DdheBLGIub3gK07htv+np6 tjLuC3XW4rUgbDxKgN3lTVwWcEHpsdgCQHfK72Fky2ZUc5ipEbqtn7TwQFtsyombUrmQ lO/scGgEmbnWRvLkc73cfkfeJqd+0MBVJrZqweHF+aowBEE1uy4lCag+8e4yGvCusASl CrGg== X-Forwarded-Encrypted: i=1; AJvYcCW+t4a8FOV4NQTLxTE9vSFNkK1RG9sS1Kzz8TvvmBceUtHqwr1HtvZuFkMCM4QGwxdEfYQKNu9eork5V3c=@vger.kernel.org X-Gm-Message-State: AOJu0YzmxRJWW+OSaifkhoTrNqeTG/aYVSoTdNULftiaUqAnavd7vDT6 WefKXf/UZnix8KVRzvWBHdHqPbJO6BuxZv1ip1hbVyyARX385AVsjsge X-Gm-Gg: ATEYQzyzdyR3YBJZbI+LIBiccaoXItaeQG6MbGTY1BBGYC4E2QAPeAtHtBAkAXhCGGn vilw5xmulDEVnZZKXTXXVMdnnI7hhqgjPOyKppBARXNKq1/xg8oircgWxYyhDE780lAJgbqTQMq 3zcq+/rXbYXsg79e+ryDoxbxhAd/8b7g89imGdeE626PLAxReGiMO+Bkc+089MM3ua41XeK5+GL irRyy9R4XzW34GmBvREZiR+4/j/68u4ja0zN+/N0GiT2ZijQOxxCVxoSVfaIEy+EP1HOIGaxGnV kMhUczG58wIfTklJHyZYfhcFJOhx5hKN3K09R70kvqhRfGVncFzT0pDVLNBEZRnb3Hhx176IH5m FeSNBN4LBAp5U9uiRdIrdAX2Loup9zXziMNulu7TvonsELBlsEudQsNd6RriLYsnUew9Fs3HHnk yPKgY9P9Itp3sAg4F8fDUK3u5gUxPHiZtLfh0IAPqNY+bWWQ4lfT22nczHLBloydDJXDCsNIXlc ctvnfuzfi2HSTAEBtVrjmQA7yHVsYEZdzubvNujKI/a2yU1G9lT X-Received: by 2002:a05:6000:1785:b0:439:b59e:5e5e with SMTP id ffacd0b85a97d-439da0f8df2mr4133878f8f.0.1772867812113; Fri, 06 Mar 2026 23:16:52 -0800 (PST) Received: from fedora ([149.3.87.76]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439dad8d840sm10630812f8f.8.2026.03.06.23.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2026 23:16:51 -0800 (PST) From: Giorgi Tchankvetadze To: antoniu.miclaus@analog.com Cc: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Giorgi Tchankvetadze Subject: [PATCH v2] iio: adc: max1363: Reformat enum and array initializers Date: Sat, 7 Mar 2026 11:15:56 +0400 Message-ID: <20260307071555.14683-2-giorgitchankvetadze1997@gmail.com> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Reformat the device enum so each entry is on its own line and add a trailing comma to the final enumerator. Also reformat the nearby monitor speeds array for consistency. No functional change. Signed-off-by: Giorgi Tchankvetadze Reviewed-by: Andy Shevchenko --- v2: - Address review comments from Andy Shevchenko and David Lechner - Move all enum entries to separate lines - Add trailing comma to final enum entry - Reformat max1363_monitor_speeds[] initializer =20 drivers/iio/adc/max1363.c | 83 ++++++++++++++++++++------------------- 1 file changed, 43 insertions(+), 40 deletions(-) diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c index d35f4487b2f9..207d1e960e21 100644 --- a/drivers/iio/adc/max1363.c +++ b/drivers/iio/adc/max1363.c @@ -637,48 +637,51 @@ static const enum max1363_modes max11644_mode_list[] = =3D { static const struct iio_chan_spec max11646_channels[] =3D MAX1363_2X_CHANS= (10); static const struct iio_chan_spec max11644_channels[] =3D MAX1363_2X_CHANS= (12); =20 -enum { max1361, - max1362, - max1363, - max1364, - max1036, - max1037, - max1038, - max1039, - max1136, - max1137, - max1138, - max1139, - max1236, - max1237, - max1238, - max1239, - max11600, - max11601, - max11602, - max11603, - max11604, - max11605, - max11606, - max11607, - max11608, - max11609, - max11610, - max11611, - max11612, - max11613, - max11614, - max11615, - max11616, - max11617, - max11644, - max11645, - max11646, - max11647 +enum { + max1361, + max1362, + max1363, + max1364, + max1036, + max1037, + max1038, + max1039, + max1136, + max1137, + max1138, + max1139, + max1236, + max1237, + max1238, + max1239, + max11600, + max11601, + max11602, + max11603, + max11604, + max11605, + max11606, + max11607, + max11608, + max11609, + max11610, + max11611, + max11612, + max11613, + max11614, + max11615, + max11616, + max11617, + max11644, + max11645, + max11646, + max11647, }; =20 -static const int max1363_monitor_speeds[] =3D { 133000, 665000, 33300, 166= 00, - 8300, 4200, 2000, 1000 }; +static const int max1363_monitor_speeds[] =3D { + 133000, 665000, 33300, 16600, + 8300, 4200, 2000, 1000, +}; =20 static ssize_t max1363_monitor_show_freq(struct device *dev, struct device_attribute *attr, --=20 2.52.0