Skip to content

Commit

Permalink
soc: qcom: rmtfs: constify rmtfs_class
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartosz Golaszewski authored and Bjorn Andersson committed Dec 26, 2024
1 parent a9020af commit eb9fc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/soc/qcom/rmtfs_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static int qcom_rmtfs_mem_release(struct inode *inode, struct file *filp)
return 0;
}

static struct class rmtfs_class = {
static const struct class rmtfs_class = {
.name = "rmtfs",
};

Expand Down

0 comments on commit eb9fc0f

Please sign in to comment.