Message ID | 20210802150016.588750-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=85.214.62.61; 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=kpahoR/4; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4Gdh6D4fg7z9s5R for <incoming@patchwork.ozlabs.org>; Tue, 3 Aug 2021 01:01:24 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7594B833FC; Mon, 2 Aug 2021 17:00:53 +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="kpahoR/4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CF7BC83420; Mon, 2 Aug 2021 17:00:38 +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=-0.6 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 EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0719.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::719]) (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 E9ADA833D0 for <u-boot@lists.denx.de>; Mon, 2 Aug 2021 17:00:30 +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=bdqJQWtnAc8xGIr+n83Ntqr3DPOq5RZ2qBE/dY/DiXDlTTckOoo26FbDtPVdLHI7chJtupL239k5Lq9fdYyO6iZl/R10wjauj1+TfLKqhzwis0E8ue+P84zuRBSO9458AUaaE/nfw8MEkjQKgjPsSQzRwDFyEh71eiuTZ4AJbYSyN/kA4cNOhLHlbXaH6e8jw/iaXFOWeuxOORI3J0cU0iCs8BAMLa/8npL5p+CRYDKzTtK0ZQdRNPXANmsfLyxjLp0eHyMO7brs7RUNomZeFVgxTZ4GUDNelluQZrMjkn1Q5iqnzECA/7sK3qCTDbmkz9d0vouZvPlpatRoygi+2A== 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=7rwwHCPwc7/+cOb+RW/5DyL5y/2LaLJmmMBs/xWF2mc=; b=W6UBPxC8nxO4nFdDjzSLM2+qwJiKZOV34afIvgmCzGhIPMlqZajFn8EGkx9mKFsZ+U2Wu0ZySlavjJLvw21uQRg+MtsWoqsdrMRa4BSamjQnGrxYIXZk43J6y7arnn48xSXtv1k9WWGQ72jogZ4zR6cXcPJhHvfwO2S/foFe0BNmqpMaFil7T6Am94Q6aEVCUc3t8IEvogVHdFjZJ0gdVJJTAFw7qnuy6mA5jH8lF5eqDjtTv3z14mrv6HBe1VYTZ3tBF8NrXNSpFRmKs6DDRDhEfqXJhbsT/vE7utbx7RbLzPLKZWO0C5sm5rJO9/kG14hiV7uOdQe1+kvpaG0oUg== 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=7rwwHCPwc7/+cOb+RW/5DyL5y/2LaLJmmMBs/xWF2mc=; b=kpahoR/4VRe5k2yKkGAG/9Xy8auQwOBM+kCtQHoX1GjSdwOjzm18pYkI+CtU+wrYliIW+dE43lOt3ee64t+0veFclvEB0deD7Vh8njRNsT9SJEUolCio/70sqkieLU3fCzoUKtKnMnCd0FU+5cGUNtTXGTpUIx3zClw9MZFEd74= 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 AM0PR10MB3217.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:17e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Mon, 2 Aug 2021 15:00:30 +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.4373.026; Mon, 2 Aug 2021 15:00:30 +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 v4 03/10] watchdog: wdt-uclass.c: neaten UCLASS_DRIVER definition Date: Mon, 2 Aug 2021 17:00:09 +0200 Message-Id: <20210802150016.588750-4-rasmus.villemoes@prevas.dk> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210802150016.588750-1-rasmus.villemoes@prevas.dk> References: <20210802150016.588750-1-rasmus.villemoes@prevas.dk> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: HE1PR05CA0257.eurprd05.prod.outlook.com (2603:10a6:3:fb::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 (81.216.59.226) by HE1PR05CA0257.eurprd05.prod.outlook.com (2603:10a6:3:fb::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Mon, 2 Aug 2021 15:00:29 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0740d69e-df7e-48f9-9066-08d955c64539 X-MS-TrafficTypeDiagnostic: AM0PR10MB3217: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <AM0PR10MB32175A2BBC454F54C066A12C93EF9@AM0PR10MB3217.EURPRD10.PROD.OUTLOOK.COM> X-MS-Oob-TLC-OOBClassifiers: OLM:663; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6PDBB5AsKoZ7aPVwxkAKdb8IOz7xUh60aw2+jW/3GMtQdOJpNukiKVgljGGFlEW6fVbsrPZ0MfZxJybmI+yq3ucetxlizggOFd5mBtTzR5AcJwtmhpyBN+qacNSUHSR0IZZOD7pMIh1jsHY6QhupY/KvVVz46UPODC1CQdpnyAmPNf5jwgjey2/0MxNYysUwllSX8v9OZA5SScVzACnjtUZnMJbUsuqTz6yWueB4g4H2nQEH340IFHnUJptTg28e1pakEfLhKVCh221lx9cFBjDBITebrRpzJDX7LT3TBVue0qolicsZpXh6CLYJ2Gu4HqvmrjjcIwXPyVjLu1SYS5buRp+GRuYz5ouC1Hhc5gMnnVvkklu0kkoSpJLYfJE5ITbVTDcgt72syHxsmxxayRMUnfhKtkoI83QJJIBGmjEwukV9Zw9491jlg7L18KsrauINJE4NBJUByp/aHfcL6pSrXVmR3vy7hHW9j+f/GCUaRVgW4gUVg/LUNGCIqiuydGXKPHew/CyXoX29yu+GxslKln+dGqLBCukIHMudtHK3OCm6td55/6+nuiBofGaWyNHLAvM8KjKhy8Pin9ISw54olKrvDBSs+Qd6PJbcJeVFSnJRrnojG68n8n+l5qvZiPznhCLJtgs5fecPjrWiIqre/BMfja2ZwFIB10mf1sHa75apryY2X0Zk/2PgkT+OFbVaooopg9mH5PDRqlCYwg== 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)(86362001)(6666004)(316002)(83380400001)(5660300002)(26005)(6506007)(4326008)(4744005)(8936002)(8976002)(508600001)(186003)(8676002)(66476007)(66556008)(36756003)(66946007)(1076003)(107886003)(52116002)(6512007)(54906003)(38350700002)(38100700002)(2906002)(6916009)(44832011)(6486002)(2616005)(956004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: d6EHzS/V7TTmFkioBHoU63CxyvprIkOKx4zBzfMeqoqMBSCUqIYPOnND/Scdc011yQY/rL4IYZD8Nx4KQ6/KIjXdsJMN4cvfGUk/LgQxCS8/gyj5S+9CmTqLYI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idqScJrAiAwswSq2AcItt29Ym7OeSfHFOGTYK11YRFpoJogSof29Jq7K6PmR+sPIb3rXwSezxIdUii5lmAes0pWFrXVBJhUVGIbKMvCg2YmGE+5jlWt2WA1tDn4hyX X-OriginatorOrg: prevas.dk X-MS-Exchange-CrossTenant-Network-Message-Id: 0740d69e-df7e-48f9-9066-08d955c64539 X-MS-Exchange-CrossTenant-AuthSource: AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2021 15:00:30.4341 (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: W50N/QLEapNP6HaMbesIwu0v7kopeqQNq/vXJu3bdZVwy+uN9rV45IxYfrK7QQJ8msR5adzCwE4ZMyJxJxF23lbkKlvFg9U5jccwN4ec6NQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB3217 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 b29d214724..81287c759a 100644 --- a/drivers/watchdog/wdt-uclass.c +++ b/drivers/watchdog/wdt-uclass.c @@ -210,10 +210,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), };