Skip to content

Commit eb9fc0f

Browse files
Bartosz Golaszewskiandersson
authored andcommitted
soc: qcom: rmtfs: constify rmtfs_class
The rmtfs class object is never modified and can be made constant. Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent a9020af commit eb9fc0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/qcom/rmtfs_mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static int qcom_rmtfs_mem_release(struct inode *inode, struct file *filp)
125125
return 0;
126126
}
127127

128-
static struct class rmtfs_class = {
128+
static const struct class rmtfs_class = {
129129
.name = "rmtfs",
130130
};
131131

0 commit comments

Comments
 (0)