archive mirror
 help / color / mirror / Atom feed
From: Ramiro Oliveira <>
	Ramiro Oliveira <>
Subject: [PATCH v2 0/2] reset: Make optional functions really optional.
Date: Tue, 27 Dec 2016 12:37:26 +0000	[thread overview]
Message-ID: <> (raw)

 - Make some comments more explicit
 - Add optional flag to reduce code duplication
 - Change shared flag from int to bool to match optional flag 

Up until now optional functions in the reset API were similar to the non

This patch corrects that, while maintaining compatibility with existing

As suggested here:

Ramiro Oliveira (2):
  reset: Change shared flag from int to bool
  reset: make optional functions really optional

 drivers/reset/core.c  | 39 +++++++++++++++++++++++++++++++--------
 include/linux/reset.h | 45 ++++++++++++++++++++++++++-------------------
 2 files changed, 57 insertions(+), 27 deletions(-)


             reply	other threads:[~2016-12-27 12:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27 12:37 Ramiro Oliveira [this message]
2016-12-27 12:37 ` [PATCH v2 1/2] reset: Change shared flag from int to bool Ramiro Oliveira
2016-12-27 12:37 ` [PATCH v2 2/2] reset: make optional functions really optional Ramiro Oliveira
2017-01-09 10:45   ` Philipp Zabel
2017-01-09 17:19     ` Ramiro Oliveira
2017-01-12 10:54       ` Philipp Zabel

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:

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

  git send-email \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).