Re: [PATCH] tosa-bt: drop setting LED trigger name, as it'sunsupported now

From: Eric Miao
Date: Fri Feb 18 2011 - 01:20:29 EST


On Mon, Feb 14, 2011 at 6:36 PM, Dmitry Eremin-Solenikov
<dbaryshkov@xxxxxxxxx> wrote:
> Since 2e48928d8a0f38c1b5c81eb3f1294de8a6382c68 it's no longer possible to set
> the name of the LED trigger for RFKILL events. Drop respective code from tosa-bt.c
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@xxxxxxxxx>
> Cc: Stephen Hemminger <shemminger@xxxxxxxxxx>
> Cc: John W. Linville <linville@xxxxxxxxxxxxx>

Applied to 'fix'.

I hope there is no existing user of this trigger name, but you know
better than I do.

> ---
> Âarch/arm/mach-pxa/tosa-bt.c | Â Â2 --
> Â1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/tosa-bt.c b/arch/arm/mach-pxa/tosa-bt.c
> index c31e601..b9b1e5c 100644
> --- a/arch/arm/mach-pxa/tosa-bt.c
> +++ b/arch/arm/mach-pxa/tosa-bt.c
> @@ -81,8 +81,6 @@ static int tosa_bt_probe(struct platform_device *dev)
> Â Â Â Â Â Â Â Âgoto err_rfk_alloc;
> Â Â Â Â}
>
> - Â Â Â rfkill_set_led_trigger_name(rfk, "tosa-bt");
> -
> Â Â Â Ârc = rfkill_register(rfk);
> Â Â Â Âif (rc)
> Â Â Â Â Â Â Â Âgoto err_rfkill;
> --
> 1.7.2.3
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/