hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c
....@@ -1,15 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 and
6
- * only version 2 as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
5
+
6
+#include <linux/delay.h>
137
148 #include "dsi_phy.h"
159 #include "dsi.xml.h"
....@@ -132,7 +126,7 @@
132126 DBG("");
133127
134128 if (msm_dsi_dphy_timing_calc(timing, clk_req)) {
135
- dev_err(&phy->pdev->dev,
129
+ DRM_DEV_ERROR(&phy->pdev->dev,
136130 "%s: D-PHY timing calculation failed\n", __func__);
137131 return -EINVAL;
138132 }