Commit 577f88cf authored by Chen Ni's avatar Chen Ni Committed by Greg Kroah-Hartman
Browse files

char: xillybus: Use to_delayed_work()

parent e17f487f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1184,8 +1184,7 @@ static int xillybus_flush(struct file *filp, fl_owner_t id)

static void xillybus_autoflush(struct work_struct *work)
{
	struct delayed_work *workitem = container_of(
		work, struct delayed_work, work);
	struct delayed_work *workitem = to_delayed_work(work);
	struct xilly_channel *channel = container_of(
		workitem, struct xilly_channel, rd_workitem);
	int rc;