[PATCH 6.1 018/272] serial: max310x: fix NULL pointer dereference in I2C instantiation