diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-10-15 10:14:34 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-10-20 17:26:04 +0100 |
commit | 6147947922fc8e4d15296ed69bf886fbe139042a (patch) | |
tree | ab073502636eddfdceed649d2066e1c5baf6a1ff /drivers/mfd/tps65086.c | |
parent | 8543537c7d9994335fd53659d44934a2cabac2f5 (diff) | |
download | linux-6147947922fc8e4d15296ed69bf886fbe139042a.tar.gz linux-6147947922fc8e4d15296ed69bf886fbe139042a.tar.bz2 linux-6147947922fc8e4d15296ed69bf886fbe139042a.zip |
mfd: ti_am335x_tscadc: Move the driver structure allocation earlier
Allocating the driver structure should be done earlier in the probe so
that we can used its members from the beginning.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211015081506.933180-17-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mfd/tps65086.c')
0 files changed, 0 insertions, 0 deletions