iio_get_acp...ame_and_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iio_get_acpi_device_name_and_data(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes we're doing kernel API today and honestly? it's giving main character energy ✨ this one lives in the IIO subsystem and it's a little lookup helper, so let's get into it 🫢


✨ NAME ✨

iio_get_acpi_device_name_and_data β€” literally just returns the ACPI device instance name and the driver data. that's the whole vibe, no cap πŸ’…


🌸 SYNOPSIS 🌸

const char * iio_get_acpi_device_name_and_data (struct device *dev ,
const void **data );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the Device structure, iykyk πŸŽ€
  • data β€” an optional pointer that hands you back the driver data ⭐

πŸ‘‘ DESCRIPTION πŸ‘‘

so picture this: your device got enumerated by ACPI ID matching (yes, that's a thing, slay) and now the user lowkey wants to set a description for the physical chip 🌈 in cases like that, the ACPI device instance name might be the move. this call exists so you can go retrieve that info β€” it's literally the whole point of the function πŸ’œ


πŸ’€ NOTE πŸ’€

⚠️ bestie listen to me: this helper function exists only for backward compatibility. do not use it in new code, fr fr πŸ™ˆ it's a legacy icon, not a blueprint πŸ’…

πŸ”₯ RETURN πŸ”₯

the ACPI device instance name β€” or NULL. that's it, that's the return 😭


🧚 SEE ALSO 🧚


okay that's the whole page, you ate that 🫢 and for the credits bestie: this cutie comes from ./drivers/iio, dated October 2026 β€” periodt πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from