linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH RESEND v2 03/10] power: charger-manager: Remove deprecated function, cm_notify_event().
@ 2014-12-19  7:52 MyungJoo Ham
  2014-12-19  8:32 ` jonghwa3.lee
  2014-12-20  0:16 ` Pavel Machek
  0 siblings, 2 replies; 4+ messages in thread
From: MyungJoo Ham @ 2014-12-19  7:52 UTC (permalink / raw)
  To: 이종화, linux-kernel
  Cc: linux-pm, sre, dbaryshkov, dwmw2, anton, pavel, 최찬우

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1082 bytes --]

>   
>  cm_notify_event() is introduced to get event associated with battery status
> externally, but no one had been used. Moreover it makes charger manager
> driver more complicated. This patch tries to drop the function and all data
> related to simplify the driver.
> 
> Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>

You are not just removing cm_notify_event() and its related.

You are hereby removing the much of software charger control
and suspend-related operations. Could you please be more specific
on why? (many of such features are to comply with operators' requirements)

(Or we may meet next Monday for some discussions :) )

> ---
>  .../bindings/power_supply/charger-manager.txt      |    1 -
>  drivers/power/charger-manager.c                    |  196 +-------------------
>  include/linux/power/charger-manager.h              |   19 +-
>  3 files changed, 8 insertions(+), 208 deletions(-)
> 
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH RESEND V2 0/10] Improve charger manager driver for optimized operation.
@ 2014-12-19  2:47 Jonghwa Lee
  2014-12-19  2:47 ` [PATCH RESEND v2 03/10] power: charger-manager: Remove deprecated function, cm_notify_event() Jonghwa Lee
  0 siblings, 1 reply; 4+ messages in thread
From: Jonghwa Lee @ 2014-12-19  2:47 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-pm, sre, dbaryshkov, dwmw2, anton, pavel, myungjoo.ham,
	cw00.choi, Jonghwa Lee

After charger manager's initially introduced, it has kept its codes without any
big change. However, the charger manager working operation isn't optimized and
it also has unused codes and non-generic interface. This series tries to make
charger manager more generic and maintainable with some fixes.

[Changes in V2]
- Rebase patch series on latest of battery-2.6.git.
- Seperate 'power: charger-manager: Rearrange data and monitor ~' patch into
  several patches depends on its purpose.
- Add 2 patches related with polling mode.

Jonghwa Lee (10):
  power: charger-manager: Use thermal subsystem interface only to get
    temperature.
  power: charger-manager: Use power_supply_changed() not private
    uevent.
  power: charger-manager: Remove deprecated function,
    cm_notify_event().
  power: charger-manager: Fix to use CHARGE_NOW/FULL property
    correctly.
  power: charger-manager: Concentrate scattered power_supply_changed()
    calls.
  power: charger-manager: Get external power souce information only
    from EXTCON.
  power: charger-manager: Make chraging decision focusing on battery
    status.
  power: charger-manager: Not to start charging directly in cable
    nofitication.
  power: charger-manager: Support different polling mode for sleep
    state.
  power: charger-manager: Support to change polling rate in runtime.

 .../bindings/power_supply/charger-manager.txt      |    1 -
 drivers/power/Kconfig                              |    1 +
 drivers/power/charger-manager.c                    |  758 ++++++--------------
 include/linux/power/charger-manager.h              |   34 +-
 4 files changed, 219 insertions(+), 575 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-20  0:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-19  7:52 [PATCH RESEND v2 03/10] power: charger-manager: Remove deprecated function, cm_notify_event() MyungJoo Ham
2014-12-19  8:32 ` jonghwa3.lee
2014-12-20  0:16 ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2014-12-19  2:47 [PATCH RESEND V2 0/10] Improve charger manager driver for optimized operation Jonghwa Lee
2014-12-19  2:47 ` [PATCH RESEND v2 03/10] power: charger-manager: Remove deprecated function, cm_notify_event() Jonghwa Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).