[PATCH 00/15] ASoC: Drop empty platform remove functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx>

Hello,

this patch series removes all platform remove functions that only return
zero below sound/soc. There is no reason to have these, as the only
caller is platform core code doing:

        if (drv->remove) {
                int ret = drv->remove(dev);

                ...
        }

(in platform_remove()) and so having no remove function is both
equivalent and simpler.

Best regards
Uwe

Uwe Kleine-König (15):
  ASoC: pxa: Drop empty platform remove function
  ASoC: amd: Drop empty platform remove function
  ASoC: atmel-classd: Drop empty platform remove function
  ASoC: atmel-pdmic: Drop empty platform remove function
  ASoC: 88pm860x: Drop empty platform remove function
  ASoC: ac97: Drop empty platform remove function
  ASoC: adau7002: Drop empty platform remove function
  ASoC: bt-sco: Drop empty platform remove function
  ASoC: cq93vc: Drop empty platform remove function
  ASoC: mc13783: Drop empty platform remove function
  ASoC: wl1273: Drop empty platform remove function
  ASoC: pxa: e740_wm9705: Drop empty platform remove function
  ASoC: pxa: e750_wm9705: Drop empty platform remove function
  ASoC: pxa: e800_wm9712: Drop empty platform remove function
  ASoC: SOF: nocodec: Drop empty platform remove function

 sound/soc/amd/raven/acp3x-i2s.c   | 8 --------
 sound/soc/atmel/atmel-classd.c    | 6 ------
 sound/soc/atmel/atmel-pdmic.c     | 6 ------
 sound/soc/codecs/88pm860x-codec.c | 6 ------
 sound/soc/codecs/ac97.c           | 6 ------
 sound/soc/codecs/adau7002.c       | 6 ------
 sound/soc/codecs/bt-sco.c         | 6 ------
 sound/soc/codecs/cq93vc.c         | 6 ------
 sound/soc/codecs/mc13783.c        | 6 ------
 sound/soc/codecs/wl1273.c         | 6 ------
 sound/soc/pxa/e740_wm9705.c       | 6 ------
 sound/soc/pxa/e750_wm9705.c       | 6 ------
 sound/soc/pxa/e800_wm9712.c       | 6 ------
 sound/soc/pxa/spitz.c             | 6 ------
 sound/soc/sof/nocodec.c           | 6 ------
 15 files changed, 92 deletions(-)


base-commit: 3a28c2c89f4b412b648761430720d40a8dc326ef
-- 
2.38.1




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux