/* Setup timeout for a device. On timeout trigger an update.  */
static void tty3270_set_timer(struct tty3270 *tp, int expires)
/* Setup timeout for a device. On timeout trigger an update.  */
static void tty3270_set_timer(struct tty3270 *tp, int expires)
{
	if (expires == 0)
		del_timer(&tp->timer);
	else
		mod_timer(&tp->timer, jiffies + expires);
}