On Mon, Dec 09, 2024 at 03:18:13PM -0800, Jakub Kicinski wrote: > On Mon, 9 Dec 2024 14:44:22 +0100 Christian Marangi wrote: > > + regmap = devm_regmap_init(priv->dev, NULL, priv, > > + &an8855_regmap_config); > > + if (IS_ERR(regmap)) > ^^^^^^^^^^^^^^ > > + dev_err_probe(priv->dev, PTR_ERR(priv->dev), > ^^^^^^^^^^^^^^^^^^ > > + "regmap initialization failed\n"); > > wrong ptr? > -- > pw-bot: cr Also, why continue execution if devm_regmap_init() failed?