Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp406187lqp; Wed, 22 May 2024 08:04:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIsbut1wu0wuvWQqc4pxBDqTCM3l8852J/CCB1TlS3uC+3NAeUo6MtAKcl9m068SU6rGVlUKvqeioOlUqjnxcCrg+7nn6gEkABLH2MLA== X-Google-Smtp-Source: AGHT+IFYZn92mTHzWdrl2xppzwZBXiCW3+FEPFGnYxBZxO+rTtS6LTra81BqircbsNjXALu6zwAn X-Received: by 2002:a17:906:a18d:b0:a5a:3c65:ccc7 with SMTP id a640c23a62f3a-a62281c8567mr141536666b.75.1716390253662; Wed, 22 May 2024 08:04:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716390253; cv=pass; d=google.com; s=arc-20160816; b=yDKsKkmIWeHhuEXaSWNqAs5+2mFfrTDyRQNSn1HOGvnJ4wdDu/BlMnU682/FUDul+K mZqyU+QBSg0YHEWEOKf1HwFUn3u+Wf4w6PE8QP/i4NwYAKXe+GYD0o++tCWckGU/jQDS RUf00HN1qJHlBwYWEKQFC55wHuO/LkMS2UUbvdzctOl5z4TnzRiTcDPoyUDCxJJ7AOA1 63y8kr4HK7a5mx7aQhexErv/iZBH8+0BuZPhsv4PJBmlFOzFwkx0RZ7IW4VCPErFqVEI cuXzzWsBC+amC1BpYGekBrY5YxiqkpZweMGc7kARDeinMTfd9xWSkNqmBVrMaSQFApGO jBbQ== 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=3jsqIIhfmiwTRQW5T/GGVz9A/caM/qGXeRU8xHOLSg0=; fh=VZcRQ5lqWyyUdYBJ5GSnRCMYD0unqVuxXkC4K2/l86M=; b=0HY+Rn8SqOy1WWIMtyUwOKbIVEkvnI7kKs6ihUREru9OYDuQsT7n1xTGeqkoXOQHBP PMO2RSI+lGtUlvg9HOwtUOo3GoJ2A4VjJR3zxDjYJDpKHgQ96eTx1PKqogYDvhONriB8 aSlu0SpV15HQt6/WxRbYxD5oStk8qNvEG+VpyEUy6o/BngcQr+MDLEbu41iAAgF3eaD6 9LZNwQk1ElLgpSie3DWYBoYh/uripDNsj8Sm4+hzXXzD+9TASNTqLQkNFaHJ7o+43xeY tLgZJqC1dunWJWIp6RPaa5j+uFQPWrAXhkqlXEiOy6tXpK1no4UYqtMHJ0q4wYTntkJ/ YR7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=J6Z3qU5V; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-186403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186403-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a89cd3462si922251966b.460.2024.05.22.08.04.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 08:04:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=J6Z3qU5V; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-186403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186403-linux.lists.archive=gmail.com@vger.kernel.org" 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 66CBA1F24476 for ; Wed, 22 May 2024 15:04:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99B1414039E; Wed, 22 May 2024 15:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="J6Z3qU5V" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 398EC7CF39 for ; Wed, 22 May 2024 15:02:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716390178; cv=none; b=YI6qnyD/UpTlmg5clKASWCFhQT+nJPFa21BlWYNBx5hDED9S0MdOFW1wldoVly8Sq4FAwIdSJHGfX/3tY1NOD8bk/+XkNc1QDo0XqeVkix0uhBqA09+QDhICZuxAT9HxovBKfQNNHZBhCiYSro7Wa1nRLo/9PHHiTUsa5hbZrKI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716390178; c=relaxed/simple; bh=pVh87fVqPqfQKJqqcDbSMFn+FcTBzRpmEsaCLIFq0AA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mV+Pk7wvbM5jcg2XEIGc+EtZ0L6Uon6nDsnKp1sNghxeNikfNjOk03y/FIMJc6eQVMwaI9GlE7f6vw7n6qY5cF2MLdi3IuXn5YLvwYw5NoZPeKd0L2Fj3Ag/J0q5I/63ywynJGEL0oard60Xh5b1bc3tPOKg+k/MtouF6248+ko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=J6Z3qU5V; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2e3b1b6e9d1so78074691fa.2 for ; Wed, 22 May 2024 08:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716390175; x=1716994975; 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=3jsqIIhfmiwTRQW5T/GGVz9A/caM/qGXeRU8xHOLSg0=; b=J6Z3qU5VeCfmizfMpuuKDk8Tr+51wldm0CshacVsxrmUiCdjjraP71SQfvnwiQaykq N1t2RjOw6OAXKyezl6O8kKGI5kuwzBfvKV2F773FvlFrv8Fn5h07WfGn7wgrzRDTkQde k9cPYPNNcCaqsLwLxb7rAtf9RPj73ofxdZr1wXNqySPud0l6Cp4JAHrwZhDnYZpfT0v8 lIkGjCxd6BPSp/G9NIar5ZcMN7DH2+wzgVlCy0eE0Gpk+w1P9DHEGUZGFs+B+L96RJed qxXlhV73fYCT/WfEZtqJwvEPMR7R/uweuulx9ZheyjhKQzvkAt38GL8E+7AI48YOs7TH pTdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716390175; x=1716994975; 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=3jsqIIhfmiwTRQW5T/GGVz9A/caM/qGXeRU8xHOLSg0=; b=Q5tNUncjbXeJXkxuyNObeBhvDo4bHySeKdVeKknTIKJaF/6YaCyVZD2UgOgaO1IDIR UtLGPWP4qCydzJe+OW6f+ynMcxwBuDVip095wazSBMM4lkZmB5wPz/+x1ApvawqFd8Fc M/HLEMegiSrXKoJLAqNxiQIL1lJiFSPRUIq/w51g+9yCA7zt6+tnZ8UYjiOeEKPuPgdC GaGpCKM9ITHFrGHiDcnLGhY9jTEnrZlAAqItA+g10BYjXs8uaIUt7dqxUEy1xmHOHoMX w/15sUgHIzUeKuCnCkFTSfhsqZWCOnMxbma8t9mJ1OtlX0yVoQiRdz0Y9Ont+KYjh3iR MQFg== X-Forwarded-Encrypted: i=1; AJvYcCW6ApLGstDoyW6fxZz241AIn9vlDxiBtGbhdGLkNrUuYEpMc7fUWnmfxpVZhLhPo3knK/ITOgPsmqXVyRAZkqduDUTbM7XYSli6XWUa X-Gm-Message-State: AOJu0Yz4IPEvP9Rs16hNFFdOS3lEF5FZ2Crh/w3B/ha0FS+5ChPVhOml 5S9D5yp+twd4ZXeysCefUYnjMbaAteg98wg1Pe0CjFkMnYy54Fa+nDL7VOkROQY= X-Received: by 2002:a2e:9d02:0:b0:2e4:7996:f9f0 with SMTP id 38308e7fff4ca-2e94946d417mr14305091fa.17.1716390175584; Wed, 22 May 2024 08:02:55 -0700 (PDT) Received: from localhost.localdomain (host-79-16-6-145.retail.telecomitalia.it. [79.16.6.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fa90e93absm531370515e9.9.2024.05.22.08.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 08:02:55 -0700 (PDT) From: Angelo Dureghello X-Google-Original-From: Angelo Dureghello To: jic23@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: nuno.sa@analog.com, lars@metafoo.de, Michael.Hennerich@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Angelo Dureghello Subject: [PATCH v2 6/6] iio: dac: ad3552r: uniform structure names Date: Wed, 22 May 2024 17:01:41 +0200 Message-ID: <20240522150141.1776196-7-adureghello@baylibre.org> X-Mailer: git-send-email 2.45.0.rc1 In-Reply-To: <20240522150141.1776196-1-adureghello@baylibre.org> References: <20240522150141.1776196-1-adureghello@baylibre.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Angelo Dureghello Use same driver file name (ad3552r) for structure names used for all variants. Signed-off-by: Angelo Dureghello --- Changes for v2: - patch added in v2 --- drivers/iio/dac/ad3552r.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/dac/ad3552r.c b/drivers/iio/dac/ad3552r.c index b8bdbfed22e3..b060cdbc715d 100644 --- a/drivers/iio/dac/ad3552r.c +++ b/drivers/iio/dac/ad3552r.c @@ -139,7 +139,7 @@ enum ad3552r_ch_vref_select { AD3552R_EXTERNAL_VREF_PIN_INPUT }; -enum ad3542r_id { +enum ad3552r_id { AD3541R_ID = 0x400b, AD3542R_ID = 0x4009, AD3551R_ID = 0x400a, @@ -265,7 +265,7 @@ struct ad3552r_ch_data { struct ad3552r_model_data { const char *model_name; - enum ad3542r_id chip_id; + enum ad3552r_id chip_id; unsigned int num_hw_channels; const s32 (*ranges_table)[2]; int num_ranges; -- 2.45.0.rc1