From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936830AbdAKI7p (ORCPT ); Wed, 11 Jan 2017 03:59:45 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:32861 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933339AbdAKI7m (ORCPT ); Wed, 11 Jan 2017 03:59:42 -0500 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= To: Jonathan Woithe , Darren Hart Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] fujitsu-laptop: acpi_fujitsu_hotkey_notify() cleanup Date: Wed, 11 Jan 2017 09:59:29 +0100 Message-Id: <20170111085933.2486-1-kernel@kempniu.pl> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I am currently preparing a patch series which makes fujitsu-laptop use a sparse keymap for hotkey handling. Before that will happen, though, acpi_fujitsu_hotkey_notify() could use a revamp because it is pretty hard to read as it is. To avoid posting everything at once, here are a few patches which IMHO make that function easier to read. Some of these changes might be a matter of taste, so feel free to NACK them or suggest a preferred alternative. drivers/platform/x86/fujitsu-laptop.c | 174 ++++++++++++++++++---------------- 1 file changed, 92 insertions(+), 82 deletions(-) -- 2.11.0