From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751145AbdALSfM (ORCPT ); Thu, 12 Jan 2017 13:35:12 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:55395 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbdALSeb (ORCPT ); Thu, 12 Jan 2017 13:34:31 -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 v3 0/2] reset: Make optional functions really optional. Date: Thu, 12 Jan 2017 18:34:06 +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 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