]> git.baikalelectronics.ru Git - kernel.git/commit
staging: bcm2835-audio: Simplify PCM creation helpers
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:56 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 09:15:00 +0000 (11:15 +0200)
commit590c6d3d7e77622650f1a81f1d1798e85c786210
treec8d175daeb06d425bf549b5227f9413a9275b6f0
parentff368b95282edc21fbf1ea977ed98d505619eb9d
staging: bcm2835-audio: Simplify PCM creation helpers

All three functions to create PCM objects are fairly resemble, and can
be unified to a single common helper.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h