Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2672230pxb; Tue, 13 Apr 2021 07:32:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjQPlQP6QYJAZyAmPaX8qm9jC7F2QCgqF/9CUhFTyAeh1MQrEUyT9/4h8EcuQgijGagEfo X-Received: by 2002:a63:f926:: with SMTP id h38mr33623393pgi.257.1618324342722; Tue, 13 Apr 2021 07:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618324342; cv=none; d=google.com; s=arc-20160816; b=m0hYpjQPVOkeGqh2K+5MNNfv++I+GUTXGMDMzzLkjrP4/0SaszuV65Rb/+iCg2Hm0G IaBwrukdko94KqrTP7kdJ89fG0v2sXCjQ/QB7g6ZM+88PGTU3QWN7RdqnvmSyDUWeC+J N4C3mDbHABasxfbrlOTMFjAYxW+Sr6+9rP/JPmzIGtbWKBtG9DKwoK70F/D2DJhno2md 8weHyC4GGHJ/eLuJP6YzcIBAhQmbnjZ2rBdrGOj3nQC8dcfNntRf5Fq0ziPFoYc5kErY 0rtqIXrw1UzM0MH4FL1AD0vpxRXKktJSSmXQJFS9kOXqu8vr9PPAVtivlFSK20asdGg1 7t7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AjUQSr3skZwdXfEjumH9dkWHLWB26tTca8GNLr4TIKI=; b=C2KzcE0qH+hqgb6VKkxjgy54WCNAWUfPS8PD+giwoZtpRFMK/O65CmlNYcxkZrVscs J921K/AIDyJXxmTFXyMPGecnMt8Euri+2VT4U8GYgk++Qktt5gDiIaFM7vTiqbTX7IEC UK92IFNFaO4ECd38Y7tPHCiM2mgqPBmQEXIbAesP+fK8Rg2POzkvvu3aV7dwHPqSAW81 XOQo/bwK54nApzYcWDKq52+NTW9xHCKmzn6VW+ilPaxt+0510YaBxeQpQjpp670SXIe9 NjCvftoc6N+4ncTeVShfzzsjH59qaJhHWfzVtM/8cC3mlW0nSGsd1aKoryTk2B7yGFRO yGew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p22si10249320pgm.190.2021.04.13.07.32.10; Tue, 13 Apr 2021 07:32:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245030AbhDMKr3 (ORCPT + 99 others); Tue, 13 Apr 2021 06:47:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236926AbhDMKrZ (ORCPT ); Tue, 13 Apr 2021 06:47:25 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AF42C061756 for ; Tue, 13 Apr 2021 03:47:05 -0700 (PDT) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWGZR-0001RR-Mv; Tue, 13 Apr 2021 12:47:01 +0200 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lWGZQ-0006Kx-2l; Tue, 13 Apr 2021 12:47:00 +0200 From: Ahmad Fatoum To: Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel@pengutronix.de Subject: [RESEND PATCH v3 0/3] watchdog: f71808e_wdt: migrate to new kernel API Date: Tue, 13 Apr 2021 12:46:43 +0200 Message-Id: X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: afa@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series migrates the driver to the new kernel watchdog API and then to the driver model. Main feedback from Guenther on v2 was that I need to split it up to enable review. I have done so by removing the extra refactoring for now and focused on the functional changes described above. The diff is now much better readable. I tested it on a f81866. v3 -> RESEND: https://lore.kernel.org/linux-watchdog/cover.dedd9f1159389b0a438076ef5e5a46aded186463.1612457906.git-series.a.fatoum@pengutronix.de/#t Didn't generate any feedback over 2 months. Resending for exposure. v2 -> v3: https://lore.kernel.org/linux-watchdog/20201020062112.6762-1-a.fatoum@pengutronix.de/ - factored out identifier renaming again for easier review - reordered commits - removed refactoring that can go in later. Focusing now on kernel watchdog API and platform device/driver migration - removed platform_device_id and changed code to match by name v1 -> v2: https://lore.kernel.org/linux-watchdog/20200611191750.28096-1-a.fatoum@pengutronix.de/ - reworked to platform device/driver pair (Guenther) - squashed identifier renaming into the patches that touch the respective lines anyway - fixed checkpatch.pl nitpicks (Guenther) - fixed locally used variable declared without static (0-day) - fixed unneded line break due to old line limit (Guenther) - renamed struct fintek_wdog_data to struct fintek_wdt Ahmad Fatoum (3): watchdog: f71808e_wdt: rename variant-independent identifiers appropriately watchdog: f71808e_wdt: migrate to new kernel watchdog API watchdog: f71808e_wdt: refactor to platform device/driver pair drivers/watchdog/Kconfig | 1 +- drivers/watchdog/f71808e_wdt.c | 450 +++++++--------------------------- 2 files changed, 100 insertions(+), 351 deletions(-) base-commit: 1048ba83fb1c00cd24172e23e8263972f6b5d9ac -- git-series 0.9.1