From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751117AbdAMR57 (ORCPT ); Fri, 13 Jan 2017 12:57:59 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:45274 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750863AbdAMR56 (ORCPT ); Fri, 13 Jan 2017 12:57:58 -0500 From: Ramiro Oliveira To: p.zabel@pengutronix.de, linux-kernel@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, CARLOS.PALMINHA@synopsys.com, Ramiro Oliveira Subject: [PATCH v4 0/2] reset: Make optional functions really optional. Date: Fri, 13 Jan 2017 17:57:39 +0000 Message-Id: X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v4: - Change the way error handling was being processed when in optional mode. 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 | 53 +++++++++++++++++++++++++++++++++++++++------------ include/linux/reset.h | 45 +++++++++++++++++++++++++------------------ 2 files changed, 67 insertions(+), 31 deletions(-) -- 2.11.0