mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: tglx@linutronix.de
Cc: linaro-kernel@lists.linaro.org, linaro-networking@linaro.org,
	linux-kernel@vger.kernel.org, fweisbec@gmail.com,
	arvind.chauhan@arm.com, daniel.lezcano@linaro.org,
	Viresh Kumar <viresh.kumar@linaro.org>
Subject: [RFC 0/2] clockevents: add ->set_dev_mode() to struct clock_event_device
Date: Mon, 12 May 2014 15:00:04 +0530	[thread overview]
Message-ID: <cover.1399886467.git.viresh.kumar@linaro.org> (raw)

Hi Thomas,

As suggested by you (https://lkml.org/lkml/2014/5/10/86), here is an attempt to
implement first two steps for fixing the bigger problem.

This patchset is about adding ->set_dev_mode() to struct clock_event_device with
return type 'int'. To achieve that return type of clockevents_set_mode() is also
changed to propagate failures.

Let me know if this is what you wanted to see or I screwed up again :(

I will then start updating drivers one by one (100 drivers AFAICT). I will try to
fix them in separate patches and will post them together in a single patchset.
And because the number is going to be over 100, let me know how do you want me
to send that..

Viresh Kumar (2):
  clockevents: return 'int' from clockevents_set_mode()
  clockevents: add ->set_dev_mode() to struct clock_event_device

 arch/arm/common/bL_switcher.c |  5 +++--
 include/linux/clockchips.h    |  7 +++++--
 kernel/time/clockevents.c     | 34 +++++++++++++++++++++++++---------
 kernel/time/tick-broadcast.c  | 25 ++++++++++++++++---------
 kernel/time/tick-common.c     |  6 +++---
 kernel/time/tick-oneshot.c    |  6 +++---
 kernel/time/timer_list.c      |  9 +++++++--
 7 files changed, 62 insertions(+), 30 deletions(-)

-- 
2.0.0.rc2


             reply	other threads:[~2014-05-12  9:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12  9:30 Viresh Kumar [this message]
2014-05-12  9:30 ` [RFC 1/2] clockevents: return 'int' from clockevents_set_mode() Viresh Kumar
2014-05-12 10:19   ` Thomas Gleixner
2014-05-13  6:50     ` Viresh Kumar
2014-05-12  9:30 ` [RFC 2/2] clockevents: add ->set_dev_mode() to struct clock_event_device Viresh Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1399886467.git.viresh.kumar@linaro.org \
    --to=viresh.kumar@linaro.org \
    --cc=arvind.chauhan@arm.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=fweisbec@gmail.com \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linaro-networking@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome