Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: Street Cred Rating is 'AWESOME' Pinmemberdjj554-Jan-13 4:55 
GeneralRe: Street Cred Rating is 'AWESOME' PinmentorKeith Barrow4-Jan-13 5:02 
GeneralRe: Street Cred Rating is 'AWESOME' PinmvpManfred R. Bihy4-Jan-13 5:13 
GeneralRe: Street Cred Rating is 'AWESOME' PinmentorKeith Barrow4-Jan-13 5:17 
GeneralRe: Street Cred Rating is 'AWESOME' PinmvpManfred R. Bihy4-Jan-13 5:28 
GeneralRe: Street Cred Rating is 'AWESOME' Pinmember0bx4-Jan-13 5:39 
GeneralRe: Street Cred Rating is 'AWESOME' PinmemberPIEBALDconsult4-Jan-13 10:53 
GeneralHow to use this structurel function and return struct fuction ah? PinmemberVenkateshkishore4-Jan-13 3:28 
Hi ,
In this following code used for struct function also passed one parameter and one structure.why used this type of struct function and advantages.
struct clk *clk_get(struct device *dev, const char *id)
{
struct clk *clk;
 
list_for_each_entry(clk, &clocks, node) {
if (strcmp(id, clk->name) == 0)
return clk;
if (clk->function && (dev == clk->dev) && strcmp(id, clk->function) == 0)
return clk;
}
 
return ERR_PTR(-ENOENT);
}
EXPORT_SYMBOL(clk_get);  
thanks by,
venkat.
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberDalek Dave4-Jan-13 3:37 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberSimon_Whale4-Jan-13 3:38 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmvpOriginalGriff4-Jan-13 3:45 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberStewart Judson4-Jan-13 3:57 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberMike Mullikin4-Jan-13 4:33 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberGary R. Wheeler4-Jan-13 10:01 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmvpOriginalGriff4-Jan-13 4:48 
GeneralRe: How to use this structurel function and return struct fuction ah? PinprotectorPete O'Hanlon4-Jan-13 4:04 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberThe Reincarnation4-Jan-13 4:12 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberMike Hankey4-Jan-13 4:24 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberBig Daddy Farang4-Jan-13 4:41 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberBillWoodruff4-Jan-13 9:12 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberGary R. Wheeler4-Jan-13 10:03 
GeneralRe: How to use this structurel function and return struct fuction ah? Pinmemberwizardzz4-Jan-13 4:42 
GeneralRe: How to use this structurel function and return struct fuction ah? Pinmemberdjj554-Jan-13 4:47 
GeneralRe: How to use this structurel function and return struct fuction ah? Pinmemberwizardzz4-Jan-13 4:50 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmvpJohn Simmons / outlaw programmer4-Jan-13 5:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 26 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid