[PATCH openEuler-1.0-LTS 26/29] serial: 8250: fix return error code in serial8250_request_std_resource()