mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
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>
This commit is contained in:
parent
a9020afe40
commit
eb9fc0f32f
|
|
@ -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",
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user