rawdev: allow drivers to return error from info query