]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: backend: add API for interface get
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Fri, 14 Feb 2025 13:19:47 +0000 (15:19 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Feb 2025 15:11:25 +0000 (15:11 +0000)
commit4018ab42636cbea1bcf4fd69afc31d51cd905ba0
tree3fb2bcc27052ef64dff588ca92a5377ef114f937
parentac856912f210bcff6a1cf8cf9cb2f6a1dfe85798
iio: backend: add API for interface get

Add backend support for obtaining the interface type used.

Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://patch.msgid.link/20250214131955.31973-2-antoniu.miclaus@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-backend.c
include/linux/iio/backend.h