lkml.org 
[lkml]   [2016]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] reset: Make optional functions really optional.
Date
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 | 39 +++++++++++++++++++++++++++++++--------
include/linux/reset.h | 45 ++++++++++++++++++++++++++-------------------
2 files changed, 57 insertions(+), 27 deletions(-)

--
2.11.0


\
 
 \ /
  Last update: 2016-12-27 13:48    [W:0.110 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site