Message ID | 20210702124510.124401-4-rasmus.villemoes@prevas.dk |
---|---|
State | Superseded |
Delegated to: | Stefan Roese |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=prevas.dk header.i=@prevas.dk header.a=rsa-sha256 header.s=selector1 header.b=BetuHhxx; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GGZZP694bz9sT6 for <incoming@patchwork.ozlabs.org>; Fri, 2 Jul 2021 22:46:05 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2930882022; Fri, 2 Jul 2021 14:45:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=prevas.dk Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=prevas.dk header.i=@prevas.dk header.b="BetuHhxx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 07AD7829C3; Fri, 2 Jul 2021 14:45:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on071e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::71e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E3B7282022 for <u-boot@lists.denx.de>; Fri, 2 Jul 2021 14:45:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=prevas.dk Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rasmus.villemoes@prevas.dk ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ergVLtxd+L28X9OxECiKjrugLvpOk8Rh5fZBGKFS8ptK2TkJApPnvor2kN9BNOLdfsOnyEh0OhJEbeFOb4D+hSE7iM80X8KVJVyaBn5r/KILDuwSg1hyLPQ++LN2SpGSo23A80sHx0OTnBLWP/JSQmM/JlP3LL3aLQNNfIkf66xgDJz90P6Xo5MART6daBZBiSg4RsuqhtuC8J3GON0rvVy4IQSwgC9CrWst4jjGGxE052T5ngTDFPgTA1jofbvGn+Jz8P5zYLpk+Haz32vMfH7cFv30u580R19HVAiEX1rqbgkKFuZ0XREqMBmKbACTo/XCRDnPooqvqzMoruxaUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hosjLM9T7irsBw6OdHnr5vMAIcyIen2Yq+0PWBkiqoM=; b=JH6h0yu40Mi76rPihLEYMj1D5AF1a4chYbdB5jQDEai81ImC1AOhKFonnZ95njjbTuGbAQTFHn5GzSyeUoQMrHsy8Iwi+EDfcLNDBTFPAq0Ssd9W+svRjqQVg1VySuLbZ437bG515RkIprJU/fR4senUDXpehrl22K3XKZi3n3O6qd5YndpNKgpMK2gAb8u7xSVKYLo1DhxWY0N90NNMWYnqObx7rmfiGdBfziToOLn0ZxHd6NjsxehqK/HHE5SL3+95UW5QMWp+lg0QRR0rPwmGyf9ZtXLQpI0ywgADzKWUILiBxT3+WhJzyTZRb6r0J906ozrVBijqIbITuAuaPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=prevas.dk; dmarc=pass action=none header.from=prevas.dk; dkim=pass header.d=prevas.dk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.dk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hosjLM9T7irsBw6OdHnr5vMAIcyIen2Yq+0PWBkiqoM=; b=BetuHhxxE0Ee64HvYg+b5gleK8PK7lXK9V32MYFUfyByAtRqR2ugbOA/om3id89b0BgITRilJS437QxTfnuLJtu2X6auzaZK8UEgyx484fNdCilwiys0kG+LS39ycgXStYV8V9yjuWZaSiQzYERgOJqqVimBzLvwpFtKuhJ5UDc= Authentication-Results: lists.denx.de; dkim=none (message not signed) header.d=none;lists.denx.de; dmarc=none action=none header.from=prevas.dk; Received: from AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:3f::10) by AM9PR10MB3990.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:1cf::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Fri, 2 Jul 2021 12:45:20 +0000 Received: from AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM ([fe80::fc83:36a5:db02:3dbb]) by AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM ([fe80::fc83:36a5:db02:3dbb%7]) with mapi id 15.20.4287.029; Fri, 2 Jul 2021 12:45:20 +0000 From: Rasmus Villemoes <rasmus.villemoes@prevas.dk> To: u-boot@lists.denx.de Cc: Simon Glass <sjg@chromium.org>, Stefan Roese <sr@denx.de>, Tom Rini <trini@konsulko.com>, Rasmus Villemoes <rasmus.villemoes@prevas.dk> Subject: [PATCH v3 03/10] watchdog: wdt-uclass.c: neaten UCLASS_DRIVER definition Date: Fri, 2 Jul 2021 14:45:03 +0200 Message-Id: <20210702124510.124401-4-rasmus.villemoes@prevas.dk> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210702124510.124401-1-rasmus.villemoes@prevas.dk> References: <20210702124510.124401-1-rasmus.villemoes@prevas.dk> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [80.208.64.110] X-ClientProxiedBy: AM4PR0501CA0065.eurprd05.prod.outlook.com (2603:10a6:200:68::33) To AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:3f::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from prevas-ravi.prevas.se (80.208.64.110) by AM4PR0501CA0065.eurprd05.prod.outlook.com (2603:10a6:200:68::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Fri, 2 Jul 2021 12:45:19 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ff5f2ec9-eaf1-4612-103a-08d93d57405f X-MS-TrafficTypeDiagnostic: AM9PR10MB3990: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <AM9PR10MB3990995E6E71B6D32C03081E931F9@AM9PR10MB3990.EURPRD10.PROD.OUTLOOK.COM> X-MS-Oob-TLC-OOBClassifiers: OLM:663; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7r1D2H26CTJuKD+oRYZ9Lt/S2ytse7sTa2DaR6qIYjvoaQ5768bX+Z9izufMT4i4jQAJSFuZHQJDqh6eWthtPiem3mjZqPbvtDifO2UxJMGK/ZMbWVkgieW/+a/RqG6/3C5rrqmwOguWeQSlqdRWRSnZ/InhDDBopXbj7aYrkT5fehsy1DnkLPxKIPZDqonFJOxSzD3epbkAiLnkf7YQvrOnJPVA+ge7YXjkJmLQmPnoWkgAE3pqM55DizJOQert6kaeBvE2wkQ9cPYw/2Q0uNR0d6IppXDtoUPIEvwRiIen2ENmYsrBUw5XQYdBpBVz+JduVgBzUqlnqq3FIN5fyIyoGXSg9Yg5BJnjpxgVdt38/D1+G/rGttgrvRyMcaqJKMUK2N5cMw95o5qjTCCIlmTYU23b/qGYtgCshoAEEhvbDC6Apxjk+5o0F94CpzF9SlZL92Tc5wIOL+yOWL+lWIgq0bSUtjTBRHAjjgT0faEjYOehj8hvWrpL1hm6TeaFJ6bInpcrkxhPNifF0OBhMwvsuB4Cz6la8WSqpmb3sYZ1Dcrl5ZWrPjmFOWCZFxVh5sdv3P23EG/FmK/FNEIW8vGGYaEMwPa042ohVejR+05MNsp6W3erxS3QsExzcvprHgpckkLrKjV4HbZ07mvAkH8rjjpCDAEsFG8cc2ZLkwi3Tcwasi604uI5NKti3rtbZ3jpcSIQu5coFoQ7xHlLlw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(366004)(396003)(376002)(39850400004)(346002)(136003)(5660300002)(83380400001)(86362001)(8936002)(66946007)(6666004)(6506007)(66556008)(52116002)(6486002)(8976002)(8676002)(66476007)(6916009)(6512007)(186003)(38350700002)(54906003)(107886003)(16526019)(38100700002)(44832011)(36756003)(4326008)(4744005)(316002)(26005)(2906002)(956004)(478600001)(1076003)(2616005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oByYqp8IrJ9ck/p6PCmXtLIFvkE1JyguFHNu1pCZD2NdHIY1j3VYLG2cZ2c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rl8EwHO5gf8vLhgjEouJwqT80yJFtRVsWDKhA/VLPiRzMMPy2hV4+t2AXyHiMR2cUUqml5nvL76FZOq3kVT04w5M6jxyvIcdp0jfFTbAZyGJBsKHZkku8VbmVbqGuTkJt65unIOOFKmOMqUKc86ANVcZ152ZtUB0g+AbrtFH1gEW/4xDz5TmOdpNb4hKeRx++l6zJ7370 X-OriginatorOrg: prevas.dk X-MS-Exchange-CrossTenant-Network-Message-Id: ff5f2ec9-eaf1-4612-103a-08d93d57405f X-MS-Exchange-CrossTenant-AuthSource: AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2021 12:45:20.2206 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d350cf71-778d-4780-88f5-071a4cb1ed61 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Uq1k9hrFY9T4OpaZ6WosZ/QueVGDetfgv2RdyUVSyGxvzktq4Gtg2Q7tpBmWjUu4jOnvHibWpTX+tH1K3HRRoHyrY8Qq4Cnh96E5o0/8NGU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR10MB3990 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
handling all DM watchdogs in watchdog_reset()
|
expand
|
diff --git a/drivers/watchdog/wdt-uclass.c b/drivers/watchdog/wdt-uclass.c index d0c1630cd4..8ddba9b046 100644 --- a/drivers/watchdog/wdt-uclass.c +++ b/drivers/watchdog/wdt-uclass.c @@ -208,10 +208,10 @@ static int wdt_pre_probe(struct udevice *dev) } UCLASS_DRIVER(wdt) = { - .id = UCLASS_WDT, - .name = "watchdog", - .flags = DM_UC_FLAG_SEQ_ALIAS, - .post_bind = wdt_post_bind, + .id = UCLASS_WDT, + .name = "watchdog", + .flags = DM_UC_FLAG_SEQ_ALIAS, + .post_bind = wdt_post_bind, .pre_probe = wdt_pre_probe, .per_device_auto = sizeof(struct wdt_priv), };