Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1557718

[PATCH v3 0/2] reset: Make optional functions really optional.

From Ramiro Oliveira <Ramiro.Oliveira@synopsys.com>
Newsgroups linux.kernel
Subject [PATCH v3 0/2] reset: Make optional functions really optional.
Date 2017-01-12 19:40 +0100
Message-ID <sYSs1-7lL-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


v3:
 - Improve description of changes ocurring in the patchset
 - Add 2 new return errors.

v2:
 - 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
optional.

This patch corrects that, while maintaining compatibility with existing
drivers.

As suggested here: https://lkml.org/lkml/2016/12/14/502

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

 drivers/reset/core.c  | 63 +++++++++++++++++++++++++++++++++++++++------------
 include/linux/reset.h | 45 ++++++++++++++++++++----------------
 2 files changed, 75 insertions(+), 33 deletions(-)

-- 
2.11.0

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/2] reset: Make optional functions really optional. Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> - 2017-01-12 19:40 +0100
  [PATCH v3 1/2] reset: Change shared flag from int to bool Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> - 2017-01-12 19:40 +0100

csiph-web