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:
committed by
Bjorn Andersson
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",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user