Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1570629

[PATCH] ASoC: fix platform_no_drv_owner.cocci warnings

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings
Date 2017-01-31 12:40 +0100
Message-ID <t5EX1-8E-35@gated-at.bofh.it> (permalink)
References <t5EX0-8E-9@gated-at.bofh.it> <t5DxV-7RQ-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


sound/soc/sunxi/sun8i-codec.c:487:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 sun8i-codec.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/sunxi/sun8i-codec.c
+++ b/sound/soc/sunxi/sun8i-codec.c
@@ -484,7 +484,6 @@ static const struct dev_pm_ops sun8i_cod
 static struct platform_driver sun8i_codec_driver = {
 	.driver = {
 		.name = "sun8i-codec",
-		.owner = THIS_MODULE,
 		.of_match_table = sun8i_codec_of_match,
 		.pm = &sun8i_codec_pm_ops,
 	},

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/8] Add sun8i A33 audio driver Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:10 +0100
  [PATCH v3 8/8] ARM: dts: sun8i: sinlinx: Enable audio nodes Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:10 +0100
  [PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to include A31 Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:10 +0100
    Re: [PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to  include A31 Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-31 12:10 +0100
    Re: [PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to  include A31 Mark Brown <broonie@kernel.org> - 2017-02-01 00:00 +0100
      Re: [PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to  include A31 Mylene Josserand <mylene.josserand@free-electrons.com> - 2017-02-01 08:50 +0100
        Re: [PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to  include A31 Mark Brown <broonie@kernel.org> - 2017-02-01 13:10 +0100
          Re: [PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to  include A31 Mylene Josserand <mylene.josserand@free-electrons.com> - 2017-02-01 16:20 +0100
    Re: [PATCH v3 1/8] ASoC: sun4i-i2s: Update binding documentation to  include A31 Rob Herring <robh@kernel.org> - 2017-02-01 18:30 +0100
  [PATCH v3 7/8] ARM: dts: sun8i: parrot: Enable audio nodes Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:10 +0100
  [PATCH v3 3/8] ASoC: Add sun8i digital audio codec Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:10 +0100
    Re: [PATCH v3 3/8] ASoC: Add sun8i digital audio codec Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-31 11:40 +0100
    Re: [PATCH v3 3/8] ASoC: Add sun8i digital audio codec kbuild test robot <lkp@intel.com> - 2017-01-31 12:40 +0100
    [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2017-01-31 12:40 +0100
  [PATCH v3 2/8] ASoC: sun4i-i2s: Add quirks to handle a31 compatible Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:10 +0100
    Re: [PATCH v3 2/8] ASoC: sun4i-i2s: Add quirks to handle a31  compatible Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-31 11:40 +0100
  [PATCH v3 6/8] ARM: dts: sun8i: Add audio codec, dai and card for A33 Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:20 +0100
  [PATCH v3 5/8] ASoC: codecs: Add sun8i-a33 binding documentation Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:20 +0100
    Re: [PATCH v3 5/8] ASoC: codecs: Add sun8i-a33 binding documentation Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-31 11:50 +0100
    Re: [PATCH v3 5/8] ASoC: codecs: Add sun8i-a33 binding documentation Rob Herring <robh@kernel.org> - 2017-02-01 18:40 +0100
  [PATCH v3 4/8] ASoC: sun8i-codec-analog: Add amplifier event to fix first delay Mylène Josserand          <mylene.josserand@free-electrons.com> - 2017-01-31 11:20 +0100
    Re: [PATCH v3 4/8] ASoC: sun8i-codec-analog: Add amplifier event to  fix first delay Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-01-31 11:40 +0100

csiph-web