From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) (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 2E4BC2DC76A for ; Sat, 9 May 2026 21:32:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778362353; cv=none; b=uxPefEzIYq6QjVzrbcFwYffaDmHckKYAgR7rU1ncv3Hr45PvicXd0P+XJVGbq+VK2iEjWELwi3V8yOVp9eebPMCbsNUbF0Q6ObXrMOFvtzUt1PRFAQ88GuDczt+/cG0ZriEGV8HlPlM8AnNcr5TTwbOezaE9GS0BdtmEIsZtLo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778362353; c=relaxed/simple; bh=voK8DUdUCME69aJRZd2XCy1pqD6n8sAAC3J0y5qKdvs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mLL5tx01LCT6+oo2HYFpVPNumaQF6/6TVOlrz4hYG4zb29BUmx6IdcnmLlMFi8RiWW0L1VLp+AhCCiymIbUaOrOPbT+Z4usRob2NuDdl+RcgO2+CCNeem2OfUJZrcZpNFRcNOyXqH5cK/LAUf6oMY7Z1n1vTOTF0q67p4L+FbYI= 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.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b=GBDq9BK9; arc=none smtp.client-ip=209.85.160.54 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b="GBDq9BK9" Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-42ff0576868so1418421fac.1 for ; Sat, 09 May 2026 14:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1778362350; x=1778967150; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LD23X1TdnWGwFEDsUfZjC98+DXkwDueIkbKGnRdyHSU=; b=GBDq9BK9odyJJ75Yp2S9LNcZUnDOU8C5Da0IDiq6XB9uZvbj2V3JZjucX09YPLxHw4 OCTmXHavGNUfE2HM1+RG2TIjM8zSOxVAcAVXDjTJox7NduJfLJXNHn0GdK7meXFy1+Hd +rVlHTh5p6PCYVnvULRZxADoa//bdxL0QUtb4r7eyv8qyZJju7J1iPiRwtarTCihhZ6J e2rmVlQWPnchcCgO0bxhW207ASOym3HjFL+TEIoZRkNHgMHm9vE0TG6nZvvlqdiv4Xg9 nZuUqY+O/nlxLPQkA4S+gm3li8Sfi+y7uFT2xgVdMyDHTiNfts4GpmFg5w3qrSFOru08 tc3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778362350; x=1778967150; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LD23X1TdnWGwFEDsUfZjC98+DXkwDueIkbKGnRdyHSU=; b=O5/Uqa+ObNKNWuIRuZrt/rQ0VO4qJo9UZYpRwqyh9UVyMY6KR2sc5d3oicENZvoDFW NHY+SQhZrHvDZKDH9DD2E7kIn/z/UoFvN4s2zh9vUJ9MWdDfXQfvSQ9YoHv9FmLj4/Fp JUndfEp6ndC9hQoG0Y8vTddleaHH/QiH9dKgac8YdQdG9PwxxrejJ/9VL9KgpyEWV17W a6i26VvM9kFm6hgv4tNKK9UjaOgNkp4CIKM2dQGFls61jyhoYsNtigRFrn+e6HMuqezJ TnWPdMKiG1pjpFox3RmY87aIkpydpwgXe2qbn802pOTIEBPBQ/dELE7paCGuQAU8iF7y W53A== X-Forwarded-Encrypted: i=1; AFNElJ9anq+3AwLcN1EJTvVcOcuQ+aJsgAHctQfNC2k/E8yndQEfHOWzg+L+8s84pVrmPPokBK6DJF+eHiI=@vger.kernel.org X-Gm-Message-State: AOJu0YzzYMyoG2dgCGn5WcN/eZ6logDHswcY4mPSaGOAB++Ap1C4LeiS nUo6oBcWZmikOSwrUKus3eDlAn8OLKo8PvvXKsr8Ec6tw/XagVtGgh1srLWcl3EzVh8= X-Gm-Gg: Acq92OGaVebu2sn4W1Cz2fV6JgonVbU7X7BVTzU6nOIrCgnbF58LDNu22rwQFQy7+WN 4ethVpNoKzGu2piKXMAfb6DRJ9BhD+gTSCjPK8nrrZ+89z+kWSEkVaYMfhAkcygDZblg/Px/tcw JUEvNsLMWR4YmBOqd7qvDBf4S+hJVLZsDrJxO4wYzxhJp59ZGiEmqEOiAyXammEIPa9hePCoSGj WEPIOO1/sMzg/AJtpwh4OgQEHoabu7vPJ9QNBnza5cJN4vuNZ9ngmVCrt8n5HA5xcr6+su1UBzv h33Ep3IHb4VkZmbmTtAm3GikIKDvgjjHsDyljkoz06Pr3SuGOO408IE2UZWkYKlnQRzsBp4GTce 2al47I3qsNi70QBq6bcx3JxcWsH/ltCtJcmlfCOeizwsSZxf96tJvJe/jXeZn+k3o8wEPFadoY0 ZAvQVdFb1PvT9u2kE53qkTu45TieAD4/j59R0WzlSDSuGMlYip3r8DKOpwZziHzdBN/fWYjPFsB Q== X-Received: by 2002:a05:6820:290f:b0:694:a362:e3ba with SMTP id 006d021491bc7-69b36d989bbmr2085922eaf.48.1778362350132; Sat, 09 May 2026 14:32:30 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:3548:c22e:ea52:dbc7? ([2600:8803:e7e4:500:3548:c22e:ea52:dbc7]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-435571099a4sm5184659fac.7.2026.05.09.14.32.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 May 2026 14:32:29 -0700 (PDT) Message-ID: <11f2d7f4-cd5e-46ab-b11c-249a30a53a07@baylibre.com> Date: Sat, 9 May 2026 16:32:28 -0500 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/9] iio: hid-sensors: drop redundant iio_dev argument To: Sanjay Chitroda , jikos@kernel.org, jic23@kernel.org, srinivas.pandruvada@linux.intel.com Cc: nuno.sa@analog.com, andy@kernel.org, sakari.ailus@linux.intel.com, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260509101040.791404-1-sanjayembedded@gmail.com> <20260509101040.791404-2-sanjayembedded@gmail.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260509101040.791404-2-sanjayembedded@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/9/26 5:10 AM, Sanjay Chitroda wrote: > From: Sanjay Chitroda > > hid_sensor_remove_trigger() uses struct hid_sensor_common to release > resources acquired during trigger setup. > > Earlier implementations required struct iio_dev to clean up buffers, > but with the current code this argument is no longer used and is > redundant. > > Adapt to hid_sensor_remove_trigger() API change across all HID IIO > drivers to match updated prototype. > > Removing it simplifies the API and is a preparatory step toward > converting the trigger handling to a devm-based API. The subject and commit message don't make sense to me. It looks like it is just removing an unused argument. Code looks fine though.