pub unsafe extern "C" fn led_get_info(
dev: *const device,
led: u32,
info: *mut *const led_info,
) -> i32Expand description
@brief Get LED information
This optional routine provides information about a LED.
@param dev LED device @param led LED number @param info Pointer to a pointer filled with LED information @return 0 on success, negative on error