From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Gatliff Subject: Re: [PWM PATCH 1/5] API to consolidate PWM devices behind a common user and kernel interface Date: Wed, 03 Feb 2010 23:31:22 -0600 Message-ID: <4B6A5BAA.2030908@billgatliff.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: H Hartley Sweeten Cc: linux-embedded@vger.kernel.org, linux-kernel@vger.kernel.org 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_(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@billgatliff.com