pub fn is_chip<P: AsRef<Path>>(path: P) -> Result<PathBuf>
Check if a path corresponds to a GPIO character device.
Returns the resolved path to the character device.