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 ask your question here.


 
GeneralRe: The simplest DirectX demo ever! PinmemberSuper Lloyd4-Jan-13 14:25 
GeneralRe: The simplest DirectX demo ever! PinmemberBillWoodruff4-Jan-13 10:09 
GeneralRe: The simplest DirectX demo ever! PinmemberSuper Lloyd4-Jan-13 14:26 
GeneralStreet Cred Rating is 'AWESOME' PinmemberDalek Dave4-Jan-13 5:34 
GeneralRe: Street Cred Rating is 'AWESOME' Pinmemberdjj554-Jan-13 5:44 
GeneralRe: Street Cred Rating is 'AWESOME' Pinmemberwizardzz4-Jan-13 5:45 
GeneralRe: Street Cred Rating is 'AWESOME' Pinmemberdjj554-Jan-13 5:55 
GeneralRe: Street Cred Rating is 'AWESOME' PinmentorKeith Barrow4-Jan-13 6:02 
GeneralRe: Street Cred Rating is 'AWESOME' PinmvpManfred R. Bihy4-Jan-13 6:13 
GeneralRe: Street Cred Rating is 'AWESOME' PinmentorKeith Barrow4-Jan-13 6:17 
GeneralRe: Street Cred Rating is 'AWESOME' PinmvpManfred R. Bihy4-Jan-13 6:28 
GeneralRe: Street Cred Rating is 'AWESOME' Pinmember0bx4-Jan-13 6:39 
GeneralRe: Street Cred Rating is 'AWESOME' PinmemberPIEBALDconsult4-Jan-13 11:53 
GeneralHow to use this structurel function and return struct fuction ah? PinmemberVenkateshkishore4-Jan-13 4: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 4:37 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberSimon_Whale4-Jan-13 4:38 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmvpOriginalGriff4-Jan-13 4:45 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberStewart Judson4-Jan-13 4:57 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberMike Mullikin4-Jan-13 5:33 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberGary R. Wheeler4-Jan-13 11:01 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmvpOriginalGriff4-Jan-13 5:48 
GeneralRe: How to use this structurel function and return struct fuction ah? PinprotectorPete O'Hanlon4-Jan-13 5:04 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberThe Reincarnation4-Jan-13 5:12 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberMike Hankey4-Jan-13 5:24 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberBig Daddy Farang4-Jan-13 5:41 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberBillWoodruff4-Jan-13 10:12 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmemberGary R. Wheeler4-Jan-13 11:03 
GeneralRe: How to use this structurel function and return struct fuction ah? Pinmemberwizardzz4-Jan-13 5:42 
GeneralRe: How to use this structurel function and return struct fuction ah? Pinmemberdjj554-Jan-13 5:47 
GeneralRe: How to use this structurel function and return struct fuction ah? Pinmemberwizardzz4-Jan-13 5:50 
GeneralRe: How to use this structurel function and return struct fuction ah? PinmvpJohn Simmons / outlaw programmer4-Jan-13 6:20 
GeneralThe most controversial post of the year so far PinmemberEnnis Ray Lynch, Jr.4-Jan-13 4:27 
GeneralRe: The most controversial post of the year so far PinmemberDalek Dave4-Jan-13 4:44 
GeneralRe: The most controversial post of the year so far PinmemberMark_Wallace4-Jan-13 9:11 
GeneralRe: The most controversial post of the year so far PinmemberColin Mullikin4-Jan-13 4:52 
GeneralRe: The most controversial post of the year so far Pinmemberdexterama4-Jan-13 5:46 
GeneralRe: The most controversial post of the year so far PinmemberColin Mullikin4-Jan-13 5:52 
GeneralRe: The most controversial post of the year so far Pinmemberdjj554-Jan-13 5:50 
GeneralRe: The most controversial post of the year so far PinmemberThe Reincarnation4-Jan-13 4:55 
GeneralRe: The most controversial post of the year so far PinmentorKeith Barrow4-Jan-13 5:11 
GeneralRe: The most controversial post of the year so far PinmemberMike Hankey4-Jan-13 5:25 
GeneralRe: The most controversial post of the year so far Pinmember0bx4-Jan-13 5:43 
GeneralRe: The most controversial post of the year so far PinmemberGary R. Wheeler4-Jan-13 11:06 
GeneralRe: The most controversial post of the year so far PinmemberKevin Marois4-Jan-13 6:35 
GeneralRe: The most controversial post of the year so far PinmemberBobJanova4-Jan-13 6:36 
GeneralRe: The most controversial post of the year so far PinmemberRJOberg4-Jan-13 7:36 
GeneralRe: The most controversial post of the year so far PinmemberGary R. Wheeler4-Jan-13 11:08 
GeneralBe careful what you ask for. Pinmemberjeron14-Jan-13 8:37 
GeneralRe: Be careful what you ask for. PinmemberGary R. Wheeler4-Jan-13 11:14 
GeneralRe: Be careful what you ask for. Pinmemberjeron14-Jan-13 11:36 

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
Web04 | 2.8.150129.1 | Last Updated 29 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid