From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752458AbdK0KtV (ORCPT ); Mon, 27 Nov 2017 05:49:21 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:34628 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752259AbdK0KtJ (ORCPT ); Mon, 27 Nov 2017 05:49:09 -0500 X-Google-Smtp-Source: AGs4zMap41wV7zTvBM6DcOEXS0zdZFf8RYddOrzAkHfARodprrRFrobz3/v9NZ67mrhdJ+KBHhX1wQ== From: Bartosz Golaszewski To: Linus Walleij , Bamvor Jian Zhang Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 00/18] gpio: mockup: updates for v4.16 Date: Mon, 27 Nov 2017 11:48:36 +0100 Message-Id: <20171127104854.333-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following series contains a number of updates for the gpio-mockup module. The most significant changes are: - rework the way we probe the devices: use a separate platform device for every mockup chip, pass the chip configuration over platform data to probe() - parse the module params in the init function, not in probe() - extend the debugfs layout for event generation - improve the module params sanitization - implement the set_multiple callback Others are mostly less significant fixes and minor coding style tweaks. Bartosz Golaszewski (18): gpio: mockup: add missing prefixes gpio: mockup: parse the module params in init, not probe gpio: mockup: verify the number of GPIO chips requested gpio: mockup: rework device probing gpio: mockup: implement gpio_mockup_err() gpio: mockup: remove a stray tab gpio: mockup: merge gpio_mockup_add() into gpio_mockup_probe() gpio: mockup: pass the named_lines parameter over platform_data gpio: mockup: extend the debugfs layout gpio: mockup: change the type of value field in line state struct gpio: mockup: group code by logic gpio: mockup: fix debugfs handling gpio: mockup: verify that ngpio > 0 gpio: mockup: tweak line breaks gpio: mockup: implement gpio_mockup_set_multiple() gpio: mockup: modify the return value check for devm_irq_sim_init() gpio: mockup: rename gpio_mockup_params_nr to gpio_mockup_num_ranges gpio: mockup: add helpers for accessing the gpio ranges drivers/gpio/gpio-mockup.c | 288 ++++++++++++++++++++++++++------------------- 1 file changed, 166 insertions(+), 122 deletions(-) -- 2.15.0