We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fcd1e commit 38b5a5aCopy full SHA for 38b5a5a
drivers/hwmon/lm90.c
@@ -1235,7 +1235,7 @@ static int lm90_update_alarms(struct lm90_data *data, bool force)
1235
1236
static void lm90_alert_work(struct work_struct *__work)
1237
{
1238
- struct delayed_work *delayed_work = container_of(__work, struct delayed_work, work);
+ struct delayed_work *delayed_work = to_delayed_work(__work);
1239
struct lm90_data *data = container_of(delayed_work, struct lm90_data, alert_work);
1240
1241
/* Nothing to do if alerts are enabled */
0 commit comments