All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas Stach <dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Mark Brown
	<broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 3/6] ASoC: tegra_wm9712: assume CONFIG_OF
Date: Mon, 18 Feb 2013 18:11:01 +0100	[thread overview]
Message-ID: <1361207461.6494.0.camel@localhost> (raw)
In-Reply-To: <1360973255-344-3-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>

Am Freitag, den 15.02.2013, 17:07 -0700 schrieb Stephen Warren:
> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
> Tegra only supports, and always enables, device tree. Remove all runtime
> checks for DT support from the driver.
> 
> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Acked-by: Lucas Stach <dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>

> ---
>  sound/soc/tegra/tegra_wm9712.c |    5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c
> index 68d4240..ce98e5b 100644
> --- a/sound/soc/tegra/tegra_wm9712.c
> +++ b/sound/soc/tegra/tegra_wm9712.c
> @@ -79,11 +79,6 @@ static int tegra_wm9712_driver_probe(struct platform_device *pdev)
>  	struct tegra_wm9712 *machine;
>  	int ret;
>  
> -	if (!pdev->dev.of_node) {
> -		dev_err(&pdev->dev, "No platform data supplied\n");
> -		return -EINVAL;
> -	}
> -
>  	machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm9712),
>  			       GFP_KERNEL);
>  	if (!machine) {

  parent reply	other threads:[~2013-02-18 17:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-16  0:07 [PATCH 1/6] ASoC: tegra: assume CONFIG_OF in tegra_asoc_utils_init Stephen Warren
     [not found] ` <1360973255-344-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-02-16  0:07   ` [PATCH 2/6] ASoC: tegra_wm8753: minor cleanup Stephen Warren
2013-02-16  0:07   ` [PATCH 3/6] ASoC: tegra_wm9712: assume CONFIG_OF Stephen Warren
     [not found]     ` <1360973255-344-3-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-02-18 17:11       ` Lucas Stach [this message]
2013-02-16  0:07   ` [PATCH 4/6] ASoC: tegra_alc5632: assume CONFIG_OF, and other cleanup Stephen Warren
     [not found]     ` <1360973255-344-4-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-02-16 14:24       ` Leon Romanovsky
2013-02-16  0:07   ` [PATCH 5/6] ASoC: tegra trimslice: " Stephen Warren
2013-02-16  0:07   ` [PATCH 6/6] ASoC: tegra_wm8903: assume CONFIG_OF, remove platform data Stephen Warren
2013-02-20 17:25   ` [PATCH 1/6] ASoC: tegra: assume CONFIG_OF in tegra_asoc_utils_init Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1361207461.6494.0.camel@localhost \
    --to=dev-8ppwabl0hbeelga04laivw@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org \
    --cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.