[PATCH 6.11 091/245] rust: device: change the from_raw() function