Commit 2b48e885 authored by Simon Sandström's avatar Simon Sandström Committed by Greg Kroah-Hartman

staging: bcm2835-audio: Fix argument indentation

Fixes checkpatch CHECK: "Alignment should match open parenthesis".
Signed-off-by: default avatarSimon Sandström <simon@nikanor.nu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent be36cefe
...@@ -49,8 +49,8 @@ static int snd_bcm2835_dev_free(struct snd_device *device) ...@@ -49,8 +49,8 @@ static int snd_bcm2835_dev_free(struct snd_device *device)
* (see "Management of Cards and Components") * (see "Management of Cards and Components")
*/ */
static int snd_bcm2835_create(struct snd_card *card, static int snd_bcm2835_create(struct snd_card *card,
struct platform_device *pdev, struct platform_device *pdev,
struct bcm2835_chip **rchip) struct bcm2835_chip **rchip)
{ {
struct bcm2835_chip *chip; struct bcm2835_chip *chip;
int err; int err;
...@@ -85,7 +85,7 @@ static int snd_bcm2835_alsa_probe_dt(struct platform_device *pdev) ...@@ -85,7 +85,7 @@ static int snd_bcm2835_alsa_probe_dt(struct platform_device *pdev)
int err, i; int err, i;
err = of_property_read_u32(dev->of_node, "brcm,pwm-channels", err = of_property_read_u32(dev->of_node, "brcm,pwm-channels",
&numchans); &numchans);
if (err) { if (err) {
dev_err(dev, "Failed to get DT property 'brcm,pwm-channels'"); dev_err(dev, "Failed to get DT property 'brcm,pwm-channels'");
return err; return err;
...@@ -94,7 +94,7 @@ static int snd_bcm2835_alsa_probe_dt(struct platform_device *pdev) ...@@ -94,7 +94,7 @@ static int snd_bcm2835_alsa_probe_dt(struct platform_device *pdev)
if (numchans == 0 || numchans > MAX_SUBSTREAMS) { if (numchans == 0 || numchans > MAX_SUBSTREAMS) {
numchans = MAX_SUBSTREAMS; numchans = MAX_SUBSTREAMS;
dev_warn(dev, "Illegal 'brcm,pwm-channels' value, will use %u\n", dev_warn(dev, "Illegal 'brcm,pwm-channels' value, will use %u\n",
numchans); numchans);
} }
err = snd_card_new(&pdev->dev, -1, NULL, THIS_MODULE, 0, &card); err = snd_card_new(&pdev->dev, -1, NULL, THIS_MODULE, 0, &card);
...@@ -194,7 +194,7 @@ static int snd_bcm2835_alsa_remove(struct platform_device *pdev) ...@@ -194,7 +194,7 @@ static int snd_bcm2835_alsa_remove(struct platform_device *pdev)
#ifdef CONFIG_PM #ifdef CONFIG_PM
static int snd_bcm2835_alsa_suspend(struct platform_device *pdev, static int snd_bcm2835_alsa_suspend(struct platform_device *pdev,
pm_message_t state) pm_message_t state)
{ {
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment