Loading drivers/nvmem/core.c +1 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ static void nvmem_cell_add(struct nvmem_cell *cell) nvmem_cell_attr->private = cell; nvmem_cell_attr->size = cell->bytes; nvmem_cell_attr->read = bin_attr_nvmem_cell_read; sysfs_attr_init(&nvmem_cell_attr->attr); rval = device_create_bin_file(&cell->nvmem->dev, nvmem_cell_attr); if (rval) dev_err(&cell->nvmem->dev, Loading drivers/thermal/qcom/msm_lmh_dcvs.c +1 −0 Original line number Diff line number Diff line Loading @@ -735,6 +735,7 @@ static int limits_dcvs_probe(struct platform_device *pdev) hw->lmh_freq_attr.attr.name = "lmh_freq_limit"; hw->lmh_freq_attr.show = lmh_freq_limit_show; hw->lmh_freq_attr.attr.mode = 0444; sysfs_attr_init(&hw->lmh_freq_attr.attr); device_create_file(&pdev->dev, &hw->lmh_freq_attr); probe_exit: Loading Loading
drivers/nvmem/core.c +1 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ static void nvmem_cell_add(struct nvmem_cell *cell) nvmem_cell_attr->private = cell; nvmem_cell_attr->size = cell->bytes; nvmem_cell_attr->read = bin_attr_nvmem_cell_read; sysfs_attr_init(&nvmem_cell_attr->attr); rval = device_create_bin_file(&cell->nvmem->dev, nvmem_cell_attr); if (rval) dev_err(&cell->nvmem->dev, Loading
drivers/thermal/qcom/msm_lmh_dcvs.c +1 −0 Original line number Diff line number Diff line Loading @@ -735,6 +735,7 @@ static int limits_dcvs_probe(struct platform_device *pdev) hw->lmh_freq_attr.attr.name = "lmh_freq_limit"; hw->lmh_freq_attr.show = lmh_freq_limit_show; hw->lmh_freq_attr.attr.mode = 0444; sysfs_attr_init(&hw->lmh_freq_attr.attr); device_create_file(&pdev->dev, &hw->lmh_freq_attr); probe_exit: Loading