[PATCH 5.12 166/296] serial: max310x: unregister uart driver in case of failure and abort