lkml.org 
[lkml]   [2020]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH] hwmon: pmbus: adm1266: pmbus_block_xfer() can be static

Signed-off-by: kernel test robot <lkp@intel.com>
---
adm1266.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/pmbus/adm1266.c b/drivers/hwmon/pmbus/adm1266.c
index 381d89a8569f2..1aa3f0a738151 100644
--- a/drivers/hwmon/pmbus/adm1266.c
+++ b/drivers/hwmon/pmbus/adm1266.c
@@ -24,8 +24,8 @@ DECLARE_CRC8_TABLE(pmbus_crc_table);
* followed by a Read Block without the Read-Block command field and the
* Write-Block STOP bit.
*/
-int pmbus_block_xfer(struct i2c_client *client, u8 cmd, u8 w_len,
- u8 *data_w, u8 *data_r)
+static int pmbus_block_xfer(struct i2c_client *client, u8 cmd, u8 w_len,
+ u8 *data_w, u8 *data_r)
{
u8 write_buf[ADM1266_PMBUS_BLOCK_MAX + 2];
struct i2c_msg msgs[2] = {
\
 
 \ /
  Last update: 2020-06-30 04:45    [W:0.177 / U:2.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site