Re: [PWM PATCH 1/5] API to consolidate PWM devices behind a commonuser and kernel interface

From: Bill Gatliff
Date: Thu Feb 04 2010 - 00:31:36 EST


H Hartley Sweeten wrote:
>
> Your older patch just used printk's to output the messages. I think the
> Oops is being caused by the dev_<level>(pwm->dev, ...). Where is pwm->dev
> being setup?
>

Good question! Makes me think that it isn't...

I'm traveling back to my office at the moment, should be back in late
tomorrow or Friday a.m. I'll look at this then.

The intention was to save the result from device_create() called from
__pwm_create_sysfs(), but I'm suspicious that the patch I posted doesn't
have that code for some reason. My local git repo here doesn't seem to
have it. Hmmm...


b.g.

--
Bill Gatliff
bgat@xxxxxxxxxxxxxxx


--
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/