Messages in this thread | | | Date | Tue, 21 Mar 2017 11:08:04 +0000 | From | Mark Brown <> | Subject | Re: [PATCH 2/2] regulator: hi655x: Bump parent pmic module use count |
| |
On Mon, Mar 20, 2017 at 11:53:41PM -0500, Jeremy Linton wrote:
> + if (!try_module_get(parent->driver->owner)) { > + dev_err(&pdev->dev, "unable to get parent module\n"); > + return -ENODEV; > + } > +
If this makes sense it should be being done in the driver core, not open coded in individual drivers. [unhandled content-type:application/pgp-signature] | |