diff options
author | Jeff Layton | 2023-10-04 14:51:51 -0400 |
---|---|---|
committer | Christian Brauner | 2023-10-18 13:26:16 +0200 |
commit | 19f926a688f99a42578e06a6dd14582c625d9445 (patch) | |
tree | 427fae425b9984e63d8b8f2a220debc97b7d876b /drivers/char | |
parent | 5463704f7850cd931c9e737f12a21928d0581b60 (diff) |
char: convert to new timestamp accessors
Convert to using the new inode timestamp accessor functions.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20231004185347.80880-4-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/sonypi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 9211531689b2..22d249333f53 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c @@ -920,7 +920,7 @@ static ssize_t sonypi_misc_read(struct file *file, char __user *buf, if (ret > 0) { struct inode *inode = file_inode(file); - inode->i_atime = current_time(inode); + inode_set_atime_to_ts(inode, current_time(inode)); } return ret; |