Message ID | 20190213112814.32334-9-idosch@mellanox.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=mellanox.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b="ZF/gCCzJ"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43zy3C54Q4z9s7T for <patchwork-incoming-netdev@ozlabs.org>; Wed, 13 Feb 2019 22:29:11 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403948AbfBML3K (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Wed, 13 Feb 2019 06:29:10 -0500 Received: from mail-eopbgr150041.outbound.protection.outlook.com ([40.107.15.41]:45056 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2403930AbfBML3H (ORCPT <rfc822;netdev@vger.kernel.org>); Wed, 13 Feb 2019 06:29:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XHVUmJny2g4PKZPUdDF+9IVNMuYgw0IhRtjf2f6U8a8=; b=ZF/gCCzJjjMCumQ7OetcMkockuT4tq8ez2MKgFbu3Q0xkTtywSFkWy4SPm5m+Bk9pMHZsVtfWVrMydcmpcNmz0HOWjPf/DWH/XLv2sU0I7do50TDA/5Xt0Z8DsQZXMEzm8t1gCroQWS14ny3eY3SA+yXS44gMktwyF/4EYSUHlY= Received: from AM6PR05MB5240.eurprd05.prod.outlook.com (20.177.196.214) by AM6PR05MB6230.eurprd05.prod.outlook.com (20.178.95.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Wed, 13 Feb 2019 11:28:52 +0000 Received: from AM6PR05MB5240.eurprd05.prod.outlook.com ([fe80::3542:889c:3a85:3866]) by AM6PR05MB5240.eurprd05.prod.outlook.com ([fe80::3542:889c:3a85:3866%5]) with mapi id 15.20.1601.023; Wed, 13 Feb 2019 11:28:52 +0000 From: Ido Schimmel <idosch@mellanox.com> To: "netdev@vger.kernel.org" <netdev@vger.kernel.org> CC: "davem@davemloft.net" <davem@davemloft.net>, Jiri Pirko <jiri@mellanox.com>, "andrew@lunn.ch" <andrew@lunn.ch>, mlxsw <mlxsw@mellanox.com>, Vadim Pasternak <vadimp@mellanox.com>, Ido Schimmel <idosch@mellanox.com> Subject: [PATCH net-next 08/12] mlxsw: core: Rename cooling device Thread-Topic: [PATCH net-next 08/12] mlxsw: core: Rename cooling device Thread-Index: AQHUw49LpYbVhNWvLEGyQMqUqxrm6g== Date: Wed, 13 Feb 2019 11:28:52 +0000 Message-ID: <20190213112814.32334-9-idosch@mellanox.com> References: <20190213112814.32334-1-idosch@mellanox.com> In-Reply-To: <20190213112814.32334-1-idosch@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LNXP265CA0090.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:76::30) To AM6PR05MB5240.eurprd05.prod.outlook.com (2603:10a6:20b:64::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 811927c2-bf2a-427b-0398-08d691a66e3a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR05MB6230; x-ms-traffictypediagnostic: AM6PR05MB6230: x-microsoft-exchange-diagnostics: =?iso-8859-1?q?1=3BAM6PR05MB6230=3B23?= =?iso-8859-1?q?=3A7BKMvxlpWNbJa5QArXhhiK7upC6aUJz+fiWwVZvtmnZ3sWiB?= =?iso-8859-1?q?EJXWUFBWi+S7ABatMbSmIEg8rhalZImKuBuLFR7rrylMPZ7F8B2?= =?iso-8859-1?q?uaykd0Lbjmt9ZTvYVkjRixTv5Eu7mOselOTBXN9B4JbDhAK7xpn?= =?iso-8859-1?q?iAhmzcIZU/P7fOsw1i9gGhQ569q2MPvjUgr3SUh9RlBSdmIVNDc?= =?iso-8859-1?q?j8tw3zex8iSn7EBGUyfMFzDL5G2tvXDhNUnOQwGrHioC8HjjLZK?= =?iso-8859-1?q?ikV8UK2fzHwZ8WDoo5rXcGFlCjqN5zQHOwqK/7iFbNhf2gvNHvf?= =?iso-8859-1?q?1h8QQrvMTSoEBMZXHx4EZv+V3VNO81inYNwhSFJXjkdXiKwE/V9?= =?iso-8859-1?q?WBe0n7tdzR3j3WkwFEm/2XYe19Qb6nh8wRI5CdGZAaU7JlHDb/Q?= =?iso-8859-1?q?98uoDGUDAI6tPQj/pyadYDnHDuu56TYV1Sq8Fftkf18Uaq/zwF9?= =?iso-8859-1?q?Ctk0dG67T7tyyrNAV2YAdr4/UfG/HHmOWv9iJOEpXo7gqMAqufl?= =?iso-8859-1?q?ihqHXmvF8Ym1N2NgFG7yQNsy5ZWOkG2kL1YOESLu93UHs0QAQ/p?= =?iso-8859-1?q?mTn3F4RpNB0F9xbKAKq6KdBYXqVcrTYPebMx+QsPm3q7dFMuGbW?= =?iso-8859-1?q?rVOPY5zzhYsFD52hi1ElHdqIc3ud9HKVjQgkQDgMh+U/E2Bfnpd?= =?iso-8859-1?q?maRepxpnEqNtMzjreOXPBUoFqBJFwQwjX0yIffQl1LonpD+j56e?= =?iso-8859-1?q?lgIjKQAvJf9kj9uTIKncX3dhNdXTDAjbsBRVtcWwJ1NaGXo5vOF?= =?iso-8859-1?q?l/hZZ5vM/ALhKsC/YI3m1Aul0at5nFdxy40p9/q+2rlaYwpCxgm?= =?iso-8859-1?q?/+dfqYwKh1RIM8e7UtXwG4MJxdAnbN0JtrjLLHOnYEsAXFnveWO?= =?iso-8859-1?q?mDxxlUtjDTRlirA6OlV1dnfHL1BzwLFOZb2J6lYanCJEMV/zngf?= =?iso-8859-1?q?Z/EBc+A3e65obUHvjUHwoOXAm3luae0TVBQu3avzE+osw6YRKtz?= =?iso-8859-1?q?+VNl1GGGj/PiLX0wbcl6WJ5mblA3vzFaML2mDUQCXJWEEwGCzk5?= =?iso-8859-1?q?xkK6XPcIB8C5NKtNRWUJquk7TfbvOJjOAjaYVZovrg/Xau9KZBQ?= =?iso-8859-1?q?ws1Q2ve65TKSOBuvpkoSDZ1HY0i+J2zvROXZ5bjt7qWHkE7NlXW?= =?iso-8859-1?q?x0Og+trx/QQx+sRTj/i/OQhdfVUjro580CGRuUI/3kFWGvZSK9d?= =?iso-8859-1?q?dXdoD7v2fx3vUDs/Ldkk2q6kh51IrnYfYMexrEKckVyMzy/wN7s?= =?iso-8859-1?q?Jh+eZfnjyoLOZYXlfzmL59YaT0HDiHD4909pht9oBTi5U5J+dEc?= =?iso-8859-1?q?Euf25jAQ2YER0tXc8T7k0uaXzyKaYw=3D=3D?= x-microsoft-antispam-prvs: <AM6PR05MB62307FAF0E36F21125319F81BF660@AM6PR05MB6230.eurprd05.prod.outlook.com> x-forefront-prvs: 094700CA91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(396003)(346002)(136003)(39860400002)(189003)(199004)(26005)(186003)(386003)(6506007)(2616005)(476003)(446003)(11346002)(102836004)(486006)(2906002)(8936002)(106356001)(105586002)(71200400001)(2351001)(71190400001)(50226002)(97736004)(81166006)(8676002)(1730700003)(81156014)(6916009)(305945005)(7736002)(14454004)(478600001)(6116002)(3846002)(86362001)(2501003)(66066001)(256004)(68736007)(107886003)(53936002)(6436002)(6512007)(1076003)(36756003)(25786009)(54906003)(316002)(6486002)(4326008)(5640700003)(99286004)(76176011)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB6230; H:AM6PR05MB5240.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Jcnwy1HpYFB9ygTPpw1DQbcS+jr2ib4IkzPi9yT4ty+SDWUjmRwDPM8v845/i8TiSnVf1vgLl7bKwtU/NcQ+qe5i5zgPTJXtDoDPWRBAEIVqDbbqdtirSLSlDUgEYn1b2xjcC/304INif038WJ8oGLX5Aa1VPg3NiNTTLgwjSALdy3D7msWzRb6t5q9HKV2cdZw7FMPb6N8+l5awfqdS4SH1Zx4lPE24Y3pLTskZjpykaZS97fxfpmPyp846aDpGu/Q0MhEyTAfdqjkcF/fOGPVKXP91S8brBZTxWXzU2sxOpFpx5NVK0P26Hg8Xf66FUkCqA+cpLKDzyyXmO4J3Djh32W1Bhv/UjIDCrN9oJr+NH2DJT5EpzoRI2yVPJsyf6KFzXqTGE3BVpvbVU4gAYBVYhJlMPmaxXTASu/5co5o= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 811927c2-bf2a-427b-0398-08d691a66e3a X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 11:28:51.3053 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB6230 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
mlxsw: hwmon and thermal extensions
|
expand
|
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c b/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c index b9fb33417a82..8b71706f7a27 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c @@ -431,8 +431,9 @@ int mlxsw_thermal_init(struct mlxsw_core *core, if (pwm_active & BIT(i)) { struct thermal_cooling_device *cdev; - cdev = thermal_cooling_device_register("Fan", thermal, - &mlxsw_cooling_ops); + cdev = thermal_cooling_device_register("mlxsw_fan", + thermal, + &mlxsw_cooling_ops); if (IS_ERR(cdev)) { err = PTR_ERR(cdev); dev_err(dev, "Failed to register cooling device\n");