[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100112090149.GB26435@n2100.arm.linux.org.uk>
Date: Tue, 12 Jan 2010 09:01:49 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Francesco VIRLINZI <francesco.virlinzi@...com>
Cc: Jeremy Kerr <jeremy.kerr@...onical.com>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [RFC,PATCH 1/7 v2] Add a common struct clk
On Tue, Jan 12, 2010 at 09:48:44AM +0100, Francesco VIRLINZI wrote:
> Hi Jeremy
> In November I already sent a proposal on
> a generic linux clk framework.
> On that I would suggest:
>
>>
>> +struct clk {
>> + const struct clk_operations *ops;
>>
> spinlock_t lock;
> const char *name;
> int id;
Name and ID are totally pointless, unless you insist on using the clk
API in the wrong way (like S3C does.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists