From patchwork Wed Aug 16 10:22:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin van der Gracht X-Patchwork-Id: 9903421 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 800AA600CA for ; Wed, 16 Aug 2017 10:45:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7447F289A2 for ; Wed, 16 Aug 2017 10:45:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67786289AC; Wed, 16 Aug 2017 10:45:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6F23289A2 for ; Wed, 16 Aug 2017 10:45:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751621AbdHPKp4 (ORCPT ); Wed, 16 Aug 2017 06:45:56 -0400 Received: from protonic.xs4all.nl ([83.163.252.89]:5048 "EHLO protonic.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbdHPKpz (ORCPT ); Wed, 16 Aug 2017 06:45:55 -0400 X-Greylist: delayed 1329 seconds by postgrey-1.27 at vger.kernel.org; Wed, 16 Aug 2017 06:45:55 EDT Received: from localhost.localdomain (erd979.prtnl [192.168.237.1]) by protonic.xs4all.nl (Postfix) with ESMTP id BAABD28040; Wed, 16 Aug 2017 12:23:04 +0200 (CEST) From: Robin van der Gracht To: linux-kernel@vger.kernel.org Cc: Miguel Ojeda Sandonis , Dmitry Torokhov , linux-input@vger.kernel.org, Robin van der Gracht Subject: [PATCH] auxdisplay: ht16k33: Use generic device properties function Date: Wed, 16 Aug 2017 12:22:48 +0200 Message-Id: <20170816102248.25498-1-robin@protonic.nl> X-Mailer: git-send-email 2.11.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP matrix_keypad_parse_of_params() was replaced early this year. Signed-off-by: Robin van der Gracht --- Early this year Dmitry Torokhov introduced a switch to using generic device properties instead of being OF-specific. Somehow this driver wasn't included in the update. For reference: https://patchwork.kernel.org/patch/9527095/ drivers/auxdisplay/ht16k33.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/auxdisplay/ht16k33.c b/drivers/auxdisplay/ht16k33.c index fbfa5b4cc567..99ce9731fc9c 100644 --- a/drivers/auxdisplay/ht16k33.c +++ b/drivers/auxdisplay/ht16k33.c @@ -354,7 +354,7 @@ static int ht16k33_keypad_probe(struct i2c_client *client, return err; } - err = matrix_keypad_parse_of_params(&client->dev, &rows, &cols); + err = matrix_keypad_parse_properties(&client->dev, &rows, &cols); if (err) return err; if (rows > HT16K33_MATRIX_KEYPAD_MAX_ROWS ||