lkml.org 
[lkml]   [2011]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/4] clk: Implement clk_set_rate
Date
On Friday, May 20, 2011 03:27:49 Jeremy Kerr wrote:
> int clk_set_rate(struct clk *clk, unsigned long rate)
> {
> - /* not yet implemented */
> - return -ENOSYS;
> + unsigned long parent_rate, new_rate;
> + int ret;
> +
> + if (!clk->ops->set_rate)
> + return -ENOSYS;

i thought ENOSYS is only for syscalls. shouldnt this be ENODEV or perhaps
EOPNOTSUPP ?
-mike
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-05-30 07:07    [from the cache]
©2003-2011 Jasper Spaans