Message ID | 20240326-module-owner-amba-v1-14-4517b091385b@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | amba: store owner from modules with amba_driver_register() | expand |
Hi Krzysztof, On Tue, Mar 26, 2024 at 09:23:44PM +0100, Krzysztof Kozlowski wrote: > Amba bus core already sets owner, so driver does not need to. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Andi Shyti <andi.shyti@kernel.org> Andi
On Tue, Mar 26, 2024 at 9:24 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > Amba bus core already sets owner, so driver does not need to. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
On Tue, Mar 26, 2024 at 09:23:44PM +0100, Krzysztof Kozlowski wrote: > Amba bus core already sets owner, so driver does not need to. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c index 4f41a3c7824d..17fb313565b8 100644 --- a/drivers/i2c/busses/i2c-nomadik.c +++ b/drivers/i2c/busses/i2c-nomadik.c @@ -1194,7 +1194,6 @@ MODULE_DEVICE_TABLE(amba, nmk_i2c_ids); static struct amba_driver nmk_i2c_driver = { .drv = { - .owner = THIS_MODULE, .name = DRIVER_NAME, .pm = pm_ptr(&nmk_i2c_pm), },
Amba bus core already sets owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Depends on first amba patch. --- drivers/i2c/busses/i2c-nomadik.c | 1 - 1 file changed, 1 deletion(-)