----- Ursprüngliche Mail ----- > Von: "Philipp Hahn" <[email protected]> > - if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) > + if (!IS_ERR_OR_NULL(gpiomtd->nwp))
No, please don't. This makes reading the code not easier. Thanks, //richard
----- Ursprüngliche Mail ----- > Von: "Philipp Hahn" <[email protected]> > - if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) > + if (!IS_ERR_OR_NULL(gpiomtd->nwp))
No, please don't. This makes reading the code not easier. Thanks, //richard