lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200811030041.25995.marek.vasut@gmail.com>
Date:	Mon, 3 Nov 2008 00:41:25 +0100
From:	Marek Vasut <marek.vasut@...il.com>
To:	Dmitry <dbaryshkov@...il.com>
Cc:	linux-kernel@...r.kernel.org, cbou@...l.ru,
	"Andrew Morton" <akpm@...ux-foundation.org>
Subject: Re: [PATCH] power_supply: change the way how wm97xx-bat driver is registered

On Sunday 02 of November 2008 21:36:58 Dmitry wrote:
> 2008/10/29 Dmitry Baryshkov <dbaryshkov@...il.com>:
> > Do register the driver from wm97xx_bat_set_pdata instead of module init.
> > This has several positive outcome points:
> > 1) This driver for wm97xx-battery is now registered on demand, thus
> > allowing other driver (e.g. tosa-battery) to claim the battery.
> > 2) After dropping __init from wm97xx_bat_set_pdata(), the wm97xx_bat
> > driver can be correctly built as a module. Then one can request it and
> > set the battery data.
> >
> > Signed-off-by: Dmitry Baryshkov <dbaryshkov@...il.com>
> > Cc: Marek Vasut <marek.vasut@...il.com>
> > ---
> >  drivers/power/Kconfig          |    4 ++--
> >  drivers/power/wm97xx_battery.c |   12 +++++-------
> >  include/linux/wm97xx_batt.h    |    7 +++++--
> >  3 files changed, 12 insertions(+), 11 deletions(-)
>
> What about this patch?

Im sure you know what you are doing. I cant test it right now though, since I 
have load of university work to do, sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ