lkml.org 
[lkml]   [2006]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-pm] [RFC] CPUFreq PowerOP integration, Centrino PM Core and OPs registration 2/3
Pavel Machek wrote:
> Hi!
>
>> +/*
>> + * FIXME: very temporary implementation, just to prove the concept !!
>> + */
>> +static int
>> +process_pwr_param(struct pm_core_point *opt, int op, char *param_name,
>> + int va_arg)
>
> Ok, so can we get final implementation? Parsing strings in drivers is
> evil...
ok, i saw this your comment when you mentioned it for the first time and I
explicitly put it in TODO letter sent along with the patchset.

Can you instead of such implementation details try to review and give us your
comments if any on interfaces approach and namely on cpufreq/PowerOP integration
at cpufreq_driver layer; comments _based_ on the code. The issue with string
parsing does not affect cpufreq/PowerOP integration interfaces since currently I
keep going with parameter names(strings) interface for PowerOP Core regardless
of whether parsing will eventually occur - at PM Core or POwerOP Core.

Eugeny
>
> Pavel
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-18 13:19    [W:2.433 / U:1.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site