886ebc12a9c916533114fbff043bdd7fd72c51c4
[openwrt/staging/ldir.git] /
1 From 874dfbcf219ccc42a2cbd187d087c7db82c3024b Mon Sep 17 00:00:00 2001
2 From: Krzysztof Kozlowski <krzk@kernel.org>
3 Date: Mon, 21 Mar 2022 12:03:26 +0100
4 Subject: [PATCH] nvmem: sunplus-ocotp: drop useless probe confirmation
5
6 Printing probe success is discouraged, because we can use tracing for
7 this purpose. Remove useless print message after Sunplus OCOTP driver
8 probe.
9
10 Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
11 Link: https://lore.kernel.org/r/20220321110326.44652-3-krzk@kernel.org
12 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 ---
14 drivers/nvmem/sunplus-ocotp.c | 2 --
15 1 file changed, 2 deletions(-)
16
17 --- a/drivers/nvmem/sunplus-ocotp.c
18 +++ b/drivers/nvmem/sunplus-ocotp.c
19 @@ -202,8 +202,6 @@ static int sp_ocotp_probe(struct platfor
20 (int)QAC628_OTP_NUM_BANKS, (int)OTP_WORDS_PER_BANK,
21 (int)OTP_WORD_SIZE, (int)QAC628_OTP_SIZE);
22
23 - dev_info(dev, "by Sunplus (C) 2020");
24 -
25 return 0;
26 }
27