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 <dmitry.baryshkov@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://lore.kernel.org/r/20241202094903.18388-2-brgl@bgdev.pl Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent a9020af commit eb9fc0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)