All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Daniel Baluta <daniel.baluta@intel.com>,
	jic23@kernel.org, srinivas.pandruvada@linux.intel.com
Cc: knaack.h@gmx.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 0/2] Introduce PM runtime helper functions
Date: Mon, 18 May 2015 18:54:16 +0200	[thread overview]
Message-ID: <555A1938.6070502@metafoo.de> (raw)
In-Reply-To: <1431966328-11058-1-git-send-email-daniel.baluta@intel.com>

On 05/18/2015 06:25 PM, Daniel Baluta wrote:
> Working on a new driver I noticed that there is a fair amount of duplicate
> code for adding PM runtime support.
>
> First patch refactors the PM runtime support in a new header
>   <linux/iio/pm_runtime> introducing functions for setup/cleanup and
> set power state.

Makes sense, but none of the functions look awfully IIO specific. I'd say 
these are helper functions that belong into the PM core itself.

- Lars

      parent reply	other threads:[~2015-05-18 16:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18 16:25 [RFC PATCH 0/2] Introduce PM runtime helper functions Daniel Baluta
2015-05-18 16:25 ` [RFC PATCH 1/2] iio: pm_runtime: " Daniel Baluta
2015-05-18 17:34   ` Peter Meerwald
2015-05-18 18:24     ` Daniel Baluta
2015-05-18 18:24       ` Daniel Baluta
2015-05-18 16:25 ` [RFC PATCH 2/2] iio: accel: kxcjk1013: Use the new IIO pm runtime helpers Daniel Baluta
2015-05-18 16:54 ` Lars-Peter Clausen [this message]

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=555A1938.6070502@metafoo.de \
    --to=lars@metafoo.de \
    --cc=daniel.baluta@intel.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    --cc=srinivas.pandruvada@linux.intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.