[PATCH 5.10 018/294] serial: max310x: fix NULL pointer dereference in I2C instantiation