Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp900727lqt; Fri, 7 Jun 2024 02:00:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUp+yuhJ1DHpWWKvhp2JWu6AciszJDfMcP+lDJ9GjYEtl3w8udmajqo4oghHbVwuiT0cPKKE5Q4gfAzEIsfyzr2K9DsxFUmtgyvWW+zlw== X-Google-Smtp-Source: AGHT+IHn0tyw1ZmfMzFbY5Gx+1QJk0Xn5PjLuZS75jxAbi2doPitgNyJaAgE0/b2wbbKsiBcGgfk X-Received: by 2002:a17:906:5915:b0:a68:e0e4:302b with SMTP id a640c23a62f3a-a6cdad23223mr136373566b.57.1717750817575; Fri, 07 Jun 2024 02:00:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717750817; cv=pass; d=google.com; s=arc-20160816; b=gnqe8JZQyn2+B2t0vJV8ClrQoFlKLQtfD4dfUd8kxvdPdu2IoG9k4Ov0t8feLEsqXv nScdlem6N54In0Q6snU1l9qGzUnbfKP8+2/p0r6KhTXQizebIL4X13mxjcAMcI/CpOKP l2c+3uGOmU+Jndus44GJbLTYtf1oxNcRljNy1cD3s2qvX5+VJrUp8DVN1EhFbZE3zHc/ i33g9Gm07xmRnxCJfW0WmQT9uvbA5VNVJwG+ZaiiBUr7gPst/c8ZJbrOLCT1T3HffAZW Pj/BWr7UWWVD0yMGjPncvUxHO0Sn4k5Rv0k1VxgqnpNl7Op2Epsm16/V97CPHoA+zhxs SWOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=g2XJhYP/BhrqpNm1t9IQIHdIlQAxxcALbbw+tPunz/c=; fh=R+swn2lNhf4aJeFYlD1Vv39lzce4f5d9CSgLOVMam0k=; b=cR8fFC24ld6sbKySkty58KE6hqzCDw00lKABKItrgt20h6wIYkAbyGuQeLo0JYC38h qPSpUFXbhdan7Jcc5YrhSYo3Ykc33xDlk98KkJS63KAdSDCZuq4LPEC/bQ37ysXpvcKb +qEfZSPYX8I70euUwHxD89x+TEIrKMQQVYyn0L6+xVR4/z3iUbBN5nsT3X84+97Yln+t fa+h3Ixr8HnYjRDW7dS6tgUx9OvKsAX2BwRyjz0oSS/tWoFruv+yZUEgBFjpwUkTdZeN tDk7PN24yAJ9NI22FfYH8TOMyJibZVQGeV5n+kj5vAymUYQiyjOHXovxrs4xU5XZ0hQr g75Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D774fQyl; 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-205648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205648-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c80749450si161244066b.947.2024.06.07.02.00.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 02:00:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205648-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=@gmail.com header.s=20230601 header.b=D774fQyl; 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-205648-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205648-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C28C01F299FF for ; Fri, 7 Jun 2024 08:52:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5740315B57A; Fri, 7 Jun 2024 08:52:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="D774fQyl" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 EAE7647A6B; Fri, 7 Jun 2024 08:51:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717750320; cv=none; b=OLvHCzevI+nfQfrDlsxtYmtjrlKfRk6qCyTAxdghvHvj6g4snYdpKkCLgzUzl5fxjJNYmUCdl0zPMqW3tRF4eTevO3Qj2PIj/3Y5rteiRxA0Ld5OVN1yke647iEGlabBA9Z0YF7oZ/Ko70M/BdatcgMSaCuY9hLrQg5IfzTdqUg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717750320; c=relaxed/simple; bh=g2XJhYP/BhrqpNm1t9IQIHdIlQAxxcALbbw+tPunz/c=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=ojwCgD2/6AWsOqRsKTX+bPtzrT0fD4+QmYzHCJkojPG4lsBjwVRsKynYlprT2eckeRWT8DKuO3/m3Z5N9or49MSiiPNDQMbcCDXbqKEz3vW16VYtS284WCsWioQlstca9Tv3LMm2xINNciy87KDGdE6mRp8HaRdly8CrbShaicU= 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=D774fQyl; arc=none smtp.client-ip=209.85.218.41 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-ej1-f41.google.com with SMTP id a640c23a62f3a-a68bf84d747so174622466b.3; Fri, 07 Jun 2024 01:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717750317; x=1718355117; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=g2XJhYP/BhrqpNm1t9IQIHdIlQAxxcALbbw+tPunz/c=; b=D774fQylL+W8IppUEowKWNKwE7I7dKJC2uZ9vWnmUDytS6VeAwq6qtonSDwi/ooKgS GNzG1zBl7CXS+sZEl6ff1pgXd0RJO88s2UDRusSUnYxAd4v/26bFMbWt0iwDw3k9Rcbx Tb4hvqbC270PqKRaemniRISKPae1ebo1UWFtnDbcvuyxqeunhEflXvHLcA441+nMWTMq DTRAPJG9NOKjmr5ivMdlB8mxYtmdBXrPxX54FhakXZR3JxKkHbHXHQBLDvhvym8Yk/Kw mGthm0TkCyH/cka7wABpw4BonHoDklDwdeuPlkDY+FjQoMyo1ISUYpFk62AzjEYyp8gf J33g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717750317; x=1718355117; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g2XJhYP/BhrqpNm1t9IQIHdIlQAxxcALbbw+tPunz/c=; b=CpYzqZokDwXZZxbaT8uB/2T3ICB0TmOtt49Kc4uZXvo2rkbJxdkymEna6JIpFnrUr0 nKAXZbzZqIfwT7IWukcPxHZq1RDewl6INJO1jcxCoXFPGPG1WY4SPwEpVA6qrN8/WpST LnmioWV+jZDQgtODz+v7AoOWgerzVBFXktMtisxkKI1nMvQekw3D8RJ67zcFwuF18O2t kwi6TVwrfhML3h+mxUrTIesHPf0N3nat3/3fR4u20Ni1G1tNHPRftkK9Cb0fK4Ei2R4W US4bfaonQZ4KScqvEewBeofFpKazrDXTSeCLNoACnNc4tI3e+jMySYg3N6IFzvKiZNum 0M+A== X-Forwarded-Encrypted: i=1; AJvYcCWWPTMhJeCToZ/qTbYOhLtOFczqe+T5W8tsu8WH4WXDKVAeHArWTpBy8UIAvD2UeDlzV3eogz/PWX3JcK9Ju31XOMNKPrXhwQgIAOmB X-Gm-Message-State: AOJu0Yw4KaulsgAHT5THo3P8DBuzK0trl7BZG/ALqBeWrlGHnphXhdln RBJrsYCtYYftr7pgGc/5DwWGsbhe+DdEgk6fvKz8zoFhrlpT83Nb0J4FWuniqr+pyw== X-Received: by 2002:a17:906:2c16:b0:a68:a800:5f7e with SMTP id a640c23a62f3a-a6cd561f12cmr129787266b.10.1717750316932; Fri, 07 Jun 2024 01:51:56 -0700 (PDT) Received: from ?IPv6:2003:f6:ef1c:c500:ee59:d953:f148:40ba? (p200300f6ef1cc500ee59d953f14840ba.dip0.t-ipconnect.de. [2003:f6:ef1c:c500:ee59:d953:f148:40ba]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c8072ad35sm213377666b.213.2024.06.07.01.51.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 01:51:56 -0700 (PDT) Message-ID: Subject: Re: [PATCH 0/8] iio: simplify with spi_get_device_match_data() From: Nuno =?ISO-8859-1?Q?S=E1?= To: Krzysztof Kozlowski , Lucas Stankus , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Puranjay Mohan , Ramona Bolboaca , Oleksij Rempel , kernel@pengutronix.de, Cosmin Tanislav , Marius Cristea Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 07 Jun 2024 10:55:44 +0200 In-Reply-To: <20240606-spi-match-data-v1-0-320b291ee1fe@linaro.org> References: <20240606-spi-match-data-v1-0-320b291ee1fe@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2024-06-06 at 16:26 +0200, Krzysztof Kozlowski wrote: > Not tested on hardware, but code looks equivalent and should not have > functional effect. >=20 > Best regards, > Krzysztof >=20 > --- > Krzysztof Kozlowski (8): > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: accel: adxl313: simplify with spi_get= _device_match_data() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: accel: adxl355: simplify with spi_get= _device_match_data() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: adc: max11205: simplify with spi_get_= device_match_data() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: adc: ti-ads131e08: simplify with spi_= get_device_match_data() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: adc: ti-tsc2046: simplify with spi_ge= t_device_match_data() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: addac: ad74413r: simplify with spi_ge= t_device_match_data() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: dac: max5522: simplify with spi_get_d= evice_match_data() > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: adc: mcp3564: drop redundant open-cod= ed spi_get_device_match_data() >=20 > =C2=A0drivers/iio/accel/adxl313_spi.c |=C2=A0 8 +------- > =C2=A0drivers/iio/accel/adxl355_spi.c | 10 +++------- > =C2=A0drivers/iio/adc/max11205.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 5 = +---- > =C2=A0drivers/iio/adc/mcp3564.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2= =A0 6 ------ > =C2=A0drivers/iio/adc/ti-ads131e08.c=C2=A0 |=C2=A0 4 +--- > =C2=A0drivers/iio/adc/ti-tsc2046.c=C2=A0=C2=A0=C2=A0 |=C2=A0 7 +------ > =C2=A0drivers/iio/addac/ad74413r.c=C2=A0=C2=A0=C2=A0 | 13 +++---------- > =C2=A0drivers/iio/dac/max5522.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 11 = +++-------- > =C2=A08 files changed, 13 insertions(+), 51 deletions(-) > --- LGTM, just some minor comments/asks that don't really stop me from: Reviewed-by: Nuno Sa