From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 6A5AA3E0253 for ; Wed, 13 May 2026 08:34:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778661252; cv=none; b=GoXwvJQy8BlTtXDZk6ESGnMDl3+5a+F6FhxihQOPcxzkTDCkT0VbMJhAV1niABwYo5RjL7qCskbTvi4/oobGmXaGa8IyvS13ZC022rE76bSqKkFXHn7pbVf8HyUtJ/RWLRFuuTue7lWl40bnfHr0SrNaDZAFpicLJ8t6txxWbYg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778661252; c=relaxed/simple; bh=OrIAJGsFuBQiGgUsDd2CSgMI5mNp/5mAvXSnocVoF3c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=F07MFGMpB710yoAQMTL8TR0fb1pARaY8Ops8guq1vcBQURnmfZykZDKVjWFLMocmDRGPf1MDib3+CAuz2nmGJtX3+fnpLTcWhE1XwpfugcLCe4UBYQ8BrLpH7t0dS81dtOULTaNdaUOgdNiDzHkAB9+iJj/1zbNLSfKOBqfdR5Y= 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=QDI5kLvG; arc=none smtp.client-ip=209.85.221.44 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="QDI5kLvG" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-44b7e8b65faso583971f8f.1 for ; Wed, 13 May 2026 01:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778661245; x=1779266045; 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=Q1TXpP8EWw3w0nxfBveD4rpPSB3AQWGhFzMn2wB3t7Q=; b=QDI5kLvGgELEILoVN3AKrxzKacKR9MPFBjvThIYmuMZnqysjBJEuiT8tCRSuR3JtVA w3qsae5bU/tD53uIONHDzjw9hIwd+A8R7/YyE8rZRkEuXnk0wAqBKJI5GowqKsqC8Dud w/v748OT9Lqlz62w2yYKP0a7sHQrHSeEIc1xLe+a7hiWByogtLOBbaHW9UI4bk2JNeAE C2BGaI9ut3JaiwZ1tyUWsrOYT4w3YgC+6KgciuwpjCR4HERrjLIvEMB4r+NGrue7ucRf wTPngmjBBkdzF5A7G7s8LYHbOQnUkVKd+szJEw5m9vu4qAnRkuWvgoBtjb5tNkesgc7g sCtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778661245; x=1779266045; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Q1TXpP8EWw3w0nxfBveD4rpPSB3AQWGhFzMn2wB3t7Q=; b=MeUeiUZgMc66lgL5SsyNy7Lq/oV+P9Fazw2WrQaIfKbVW0gLb1kSC0xDKN4lpdf3E+ 0RnGSg0quO6DhTe8cwILyi5Rm7mSxOz3BD/59UxzEXcCLNXL5Q/EJaU1ioKPQYN0HMgc BI6AxqlV9rs0RoL3wHyS3SjQX2eyL60/YQoHgZjdxvOnpjYtcH5OFjOcDSuWquQfcfAy BqOB12A/AgXaTG6h5MTxoaNVfCI8IvaIGPusB0ROAE+spSCBrDM3tqpeGmr/hcSlOKeH 3iTOA0cQ6GYLtCcHLBOIoyxkT3ll8dJjAq/3zQNoIKQLfcIKu79FilXTPvnUY90xnp0O RYDA== X-Forwarded-Encrypted: i=1; AFNElJ9Yerkg3hSpiRYPmWGpYjPMY9xeXTU2PhxwEMl5rgM6QqibV44qchCTeu0PCr5x4EMHxAx5ma9eD8Bp89Y=@vger.kernel.org X-Gm-Message-State: AOJu0YwqZfLnFrAW9n4WtGYf2KmkYjTrKfbmYQIJyxy/XXwk7/hFGUk0 x+vapd2YYnGSFxGtHUsErK82RyXNOFvPUHA6LgDBsDgOwD1T1Z738r05 X-Gm-Gg: Acq92OGEuUMivijdy02GT4Z3pW4cUnBhHGkfU632w2MMnzL3gM560ApgfhJVlJ2jTz9 TjLh8z8gGqGRH4AF88FouFfQuUS6POf9g2QZoBZ6G97LNt9L9AQWexA8eXrp3MwNGCigNnrxcqX +5BNU6aFrG5TmpRfOif8CoVCOXGDjJOYI7iz0ikwGiKj19mkOJnEPnYI6sEWeEi6IVUSbxk52l/ +921unOoPrFuCGUVhvTTHk8cMPpnNiJ3XJEcnKst7nG7J7cXf9rZPqz5JXSGBYG5JZnjKJXugWK TrR+wm3nutUMLPVk61tkOyyfoME2YWoZJPWv1RsjoRYvEMgWzI0FnGscYZr2BTzprafr+98fzJJ 21ethYZOQdqCRkD0+IEgedDMiq+IudruDpymF2M9PeDc6ZClgRGh2Ege6nfVWP2tOHSX7FP29Yg DyYDzGQvDkfTgoE+1sBriAN0xdtcPefe0SkqhfqsR4g3eB X-Received: by 2002:a05:6000:2c12:b0:454:454a:4cbd with SMTP id ffacd0b85a97d-45c5b5f69f9mr1664293f8f.5.1778661244540; Wed, 13 May 2026 01:34:04 -0700 (PDT) Received: from localhost.localdomain ([82.215.118.79]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4549120eb95sm37750863f8f.20.2026.05.13.01.34.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2026 01:34:04 -0700 (PDT) From: Stepan Ionichev To: jic23@kernel.org Cc: andriy.shevchenko@intel.com, joshua.crofts1@gmail.com, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, gregkh@linuxfoundation.org, hcazarim@yahoo.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, sozdayvek@gmail.com Subject: Re: [PATCH] iio: trigger: iio-trig-interrupt: use devm_* helpers Date: Wed, 13 May 2026 13:33:42 +0500 Message-Id: <20260513083342.764-1-sozdayvek@gmail.com> X-Mailer: git-send-email 2.33.0.windows.2 In-Reply-To: <20260511060732.7728-1-sozdayvek@gmail.com> References: <20260511060732.7728-1-sozdayvek@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Mon, May 11, 2026 at 19:56, Jonathan Cameron wrote: > Silly question for you - how does this driver actually bind on a > modern platform? That is - how do we get one of these? It does not, as far as I can see. Grep across the mainline tree: - The string "iio_interrupt_trigger" appears only in the driver itself (drivers/iio/trigger/iio-trig-interrupt.c:101 — the .driver.name). - No .of_match_table and no .id_table on the driver. - No platform_device_register*() call anywhere in arch/, drivers/ or board files that would create a device named "iio_interrupt_trigger". - No Documentation/devicetree/bindings/ entry. So the only way to instantiate it on a current kernel is an explicit out-of-tree platform_device_register("iio_interrupt_trigger", ...), and nothing in mainline does that. Given that, please drop v1 and v2 of this patch. The cleanup-for-its- own-sake is not worth the parent / sysfs-hierarchy change Andy flagged when there are no in-tree users to validate it against. If at some point a user appears in mainline (DT binding, ACPI hookup or a board file), the devm_* conversion can come along with that work. Sorry for the noise. Stepan