lkml.org 
[lkml]   [2005]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [DRIVER MODEL] Add platform_driver
On Sat, Nov 05, 2005 at 06:12:17PM +0000, Russell King wrote:
> Introduce struct platform_driver. This allows the platform device
> driver methods to be passed a platform_device structure instead of
> instead of a plain device structure, and therefore requiring casting
> in every platform driver.
>
> We introduce this in such a way that any existing platform drivers
> registered directly via driver_register continue to work as before,
> thereby allowing a gradual conversion to the new platform_driver
> methods.
>
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Acked-by: Greg Kroah-Hartman <gregkh@suse.de>

Thanks a lot for doing this work, I really appreciate it and think it is
the proper way to move forward (the whole, remove the pointers from the
struct driver thing.)

thanks,

greg k-h
-
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: 2005-11-06 21:43    [W:0.112 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site