From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933715AbcH2Pho (ORCPT ); Mon, 29 Aug 2016 11:37:44 -0400 Received: from mail-oi0-f44.google.com ([209.85.218.44]:35972 "EHLO mail-oi0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933330AbcH2Phl (ORCPT ); Mon, 29 Aug 2016 11:37:41 -0400 From: Azael Avalos To: Darren Hart , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Azael Avalos Subject: [PATCH v2 0/3] toshiba_acpi: Functions cleanup Date: Mon, 29 Aug 2016 09:37:33 -0600 Message-Id: <20160829153736.18273-1-coproscefalo@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These set of patches make some cleanup in some of the driver's functions. The first patch changes the variables declaration, the second changes the error checking logic and the third simply fixes a typo found while making these changes. Changes since v1: - Small changes to patch 01 acording to Darren's comments - Added a missing return on *eco_mode_available function Azael Avalos (3): toshiba_acpi: Clean up variable declaration toshiba_acpi: Change error checking logic from TCI functions toshiba_acpi: Fix typo in *_cooling_method_set function drivers/platform/x86/toshiba_acpi.c | 261 +++++++++++++++++++++--------------- 1 file changed, 154 insertions(+), 107 deletions(-) -- 2.9.3