[net-next PATCH v11 5/9] mfd: an8855: Add support for Airoha AN8855 Switch MFD
Vladimir Oltean
olteanv at gmail.com
Tue Dec 10 13:05:40 PST 2024
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?
More information about the Linux-mediatek
mailing list