Skip to content

Commit 41e7438

Browse files
committed
hwmon: (aht10) Drop doctype annotations from static functions
doctype annotations of static functions have little if any value. Drop them to silence 0-day complaints. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Cc: Johannes Cornelis Draaijer <[email protected]> Reviewed-by: Tzung-Bi Shih <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent 38b5a5a commit 41e7438

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

drivers/hwmon/aht10.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ struct aht10_data {
9494
unsigned int meas_size;
9595
};
9696

97-
/**
97+
/*
9898
* aht10_init() - Initialize an AHT10/AHT20 chip
9999
* @data: the data associated with this AHT10/AHT20 chip
100100
* Return: 0 if successful, 1 if not
@@ -124,7 +124,7 @@ static int aht10_init(struct aht10_data *data)
124124
return 0;
125125
}
126126

127-
/**
127+
/*
128128
* aht10_polltime_expired() - check if the minimum poll interval has
129129
* expired
130130
* @data: the data containing the time to compare
@@ -140,7 +140,7 @@ static int aht10_polltime_expired(struct aht10_data *data)
140140

141141
DECLARE_CRC8_TABLE(crc8_table);
142142

143-
/**
143+
/*
144144
* crc8_check() - check crc of the sensor's measurements
145145
* @raw_data: data frame received from sensor(including crc as the last byte)
146146
* @count: size of the data frame
@@ -155,7 +155,7 @@ static int crc8_check(u8 *raw_data, int count)
155155
return crc8(crc8_table, raw_data, count, CRC8_INIT_VALUE);
156156
}
157157

158-
/**
158+
/*
159159
* aht10_read_values() - read and parse the raw data from the AHT10/AHT20
160160
* @data: the struct aht10_data to use for the lock
161161
* Return: 0 if successful, 1 if not
@@ -214,7 +214,7 @@ static int aht10_read_values(struct aht10_data *data)
214214
return 0;
215215
}
216216

217-
/**
217+
/*
218218
* aht10_interval_write() - store the given minimum poll interval.
219219
* Return: 0 on success, -EINVAL if a value lower than the
220220
* AHT10_MIN_POLL_INTERVAL is given
@@ -226,7 +226,7 @@ static ssize_t aht10_interval_write(struct aht10_data *data,
226226
return 0;
227227
}
228228

229-
/**
229+
/*
230230
* aht10_interval_read() - read the minimum poll interval
231231
* in milliseconds
232232
*/
@@ -237,7 +237,7 @@ static ssize_t aht10_interval_read(struct aht10_data *data,
237237
return 0;
238238
}
239239

240-
/**
240+
/*
241241
* aht10_temperature1_read() - read the temperature in millidegrees
242242
*/
243243
static int aht10_temperature1_read(struct aht10_data *data, long *val)
@@ -252,7 +252,7 @@ static int aht10_temperature1_read(struct aht10_data *data, long *val)
252252
return 0;
253253
}
254254

255-
/**
255+
/*
256256
* aht10_humidity1_read() - read the relative humidity in millipercent
257257
*/
258258
static int aht10_humidity1_read(struct aht10_data *data, long *val)

0 commit comments

Comments
 (0)