On Wed, 5 Mar 2008, Kristoffer Ericson wrote:

> -static void do_softint(struct work_struct *work)
> +static void do_softint(struct delayed_work *work)
>  {
> -     int absx = 0, absy = 0;
>       u8 scpdr;
>       int touched = 0;
> +     int x,y;

Minor nitpick: could you put some space here please?

> -static irqreturn_t hp680_ts_interrupt(int irq, void *dev)
> +static irqreturn_t hp680_ts_interrupt(int irq, void *pdev)
>  {
> -     disable_irq_nosync(irq);
> -     schedule_delayed_work(&work, HZ / 20);
> -
> -     return IRQ_HANDLED;
> +    disable_irq_nosync(irq);
> +    schedule_delayed_work(&work, HZ / 20);
> +    return IRQ_HANDLED;

This looks whitespace damaged.

> +     dev->name = "HP Jornada 6xx Touchscreen";
> +     dev->phys = "jornadats/input0";

Is it OK that this phys collides with the one from jornada720_ts driver?

Also, while you are at it, maybe it would be worth to rename the driver? 
(hp6xx instead of hp680).

-- 
Jiri Kosina
SUSE Labs

Reply via email to