Re: [patch 2/6] Add display output class support

From: Pavel Machek
Date: Thu Nov 02 2006 - 16:23:25 EST


Hi!

> Add display output class support
>
> signed-off-by   Luming.yu@xxxxxxxxx

Hmm, strange characters inside signoff, and I guessthis should be Real
Name <my@ddress>.


> @@ -0,0 +1,129 @@
> +/*
> + * output.c - Display output swither driver

Switcher?

> +static ssize_t video_output_store_state(struct class_device *dev,
> + const char *buf,size_t count)
> +{
> + char *endp;
> + struct output_device *od = to_output_device(dev);
> + int request_state = simple_strtoul(buf,&endp,0);
> + size_t size = endp - buf;
> +
> + if (*endp && isspace(*endp))
> + size++;
> + if (size != count)
> + return -EINVAL;

spaces vs. tabs...

> --- /dev/null
> +++ b/include/linux/output.h

I'm not sure if linux/output.h is not little too generic...

Pavel
--
Thanks for all the (sleeping) penguins.
-
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/