From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754431Ab1GVRzq (ORCPT ); Fri, 22 Jul 2011 13:55:46 -0400 Received: from mailrelay002.isp.belgacom.be ([195.238.6.175]:40285 "EHLO mailrelay002.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753830Ab1GVRzo (ORCPT ); Fri, 22 Jul 2011 13:55:44 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAK+3KU5tgwKe/2dsb2JhbABTp0Z4iH66Uw6FUl8Eo08 Date: Fri, 22 Jul 2011 19:55:39 +0200 From: Wim Van Sebroeck To: H Hartley Sweeten Cc: Wolfram Sang , "linux-watchdog@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "tim.bird@am.sony.com" Subject: Re: [RFC 0/6] watchdog drivers converted to the new framework Message-ID: <20110722175539.GC31767@infomag.iguana.be> References: <1310588766-16638-1-git-send-email-w.sang@pengutronix.de> <20110714182734.GA31082@pengutronix.de> <20110714200053.GC31082@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hartley, > >>>> I would also like to convert this driver into a proper platform_driver using > >>>> ioremap'ed addresses instead of the static mappings. Converting the driver > >>>> to the new watchdog framework would make this a bit cleaner. > >>> > >>> Try managed devices (devm_* and friends) for an extra cleanup bonus. > >> > >> Already done, just waiting for the framework... ;-) > > > > Nice :) Did you use my conversion-guide as a reference? Any comments if so? > > Sorry, I didn't. I just worked it out from the framework core and looking > at your examples. > > When I found the framework patches on lkml I couldn't get them into a state > to apply to my tree. I ended up manually applying all the pieces so I skipped > the Documentation stuff to save some time. > > The conversion is pretty straight forward after examining the watchdog > framework files. Maybe you could allready post your patches to the linux watchdog mailing list. Kind regards, Wim.