summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 21:51:55 +0300
committerChristian Brauner <brauner@kernel.org>2023-10-18 14:26:16 +0300
commitd524e9d6ec1e292bfe88735eb0b6f32b1940ac68 (patch)
tree3458f2465d53c941300286cb7b17216a2851346c /drivers/platform
parent5776aa6bec2be00a82a5fc7258c2339af7fa6877 (diff)
downloadlinux-d524e9d6ec1e292bfe88735eb0b6f32b1940ac68.tar.xz
x86: 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-8-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/sony-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 9569f11dec8c..40878e327afd 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -4092,7 +4092,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;