Skip to content

Commit 1a3a0d9

Browse files
jonathangrayjannau
authored andcommitted
drm/apple: spelling fixes
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
1 parent 1414e96 commit 1a3a0d9

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

drivers/gpu/drm/apple/apple_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ static int apple_drm_init_dcp(struct device *dev)
458458
ret = dcp_wait_ready(dcp[i], wait);
459459
/* There is nothing we can do if a dcp/dcpext does not boot
460460
* (successfully). Ignoring it should not do any harm now.
461-
* Needs to reevaluated whenn adding dcpext support.
461+
* Needs to reevaluated when adding dcpext support.
462462
*/
463463
if (ret)
464464
dev_warn(dev, "DCP[%d] not ready: %d\n", i, ret);

drivers/gpu/drm/apple/dcp-internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct dcp_panel {
9595
int width_mm;
9696
/// panel height in millimeter
9797
int height_mm;
98-
/// panel has a mini-LED backllight
98+
/// panel has a mini-LED backlight
9999
bool has_mini_led;
100100
};
101101

drivers/gpu/drm/apple/dcp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ static int dcp_comp_bind(struct device *dev, struct device *main, void *data)
808808
if (dcp->notch_height > 0)
809809
dev_info(dev, "Detected display with notch of %u pixel\n", dcp->notch_height);
810810

811-
/* intialize brightness scale to a sensible default to avoid divide by 0*/
811+
/* initialize brightness scale to a sensible default to avoid divide by 0*/
812812
dcp->brightness.scale = 65536;
813813
panel_np = of_get_compatible_child(dev->of_node, "apple,panel-mini-led");
814814
if (panel_np)
@@ -877,7 +877,7 @@ static int dcp_comp_bind(struct device *dev, struct device *main, void *data)
877877
dcp->rtk = devm_apple_rtkit_init(dev, dcp, "mbox", 0, &rtkit_ops);
878878
if (IS_ERR(dcp->rtk))
879879
return dev_err_probe(dev, PTR_ERR(dcp->rtk),
880-
"Failed to intialize RTKit");
880+
"Failed to initialize RTKit");
881881

882882
ret = apple_rtkit_wake(dcp->rtk);
883883
if (ret)

drivers/gpu/drm/apple/iomfb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static void dcpep_handle_cb(struct apple_dcp *dcp, enum dcp_context_id context,
274274
out = in + hdr->in_len;
275275

276276
// TODO: verify that in_len and out_len match our prototypes
277-
// for now just clear the out data to have at least consistant results
277+
// for now just clear the out data to have at least consistent results
278278
if (hdr->out_len)
279279
memset(out, 0, hdr->out_len);
280280

drivers/gpu/drm/apple/iomfb_template.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ static void dcpep_cb_unmap_piodma(struct apple_dcp *dcp,
326326

327327
/*
328328
* Allocate an IOVA contiguous buffer mapped to the DCP. The buffer need not be
329-
* physically contigiuous, however we should save the sgtable in case the
329+
* physically contiguous, however we should save the sgtable in case the
330330
* buffer needs to be later mapped for PIODMA.
331331
*/
332332
static struct dcp_allocate_buffer_resp

drivers/gpu/drm/apple/iomfb_v13_3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static const iomfb_cb_handler cb_handlers[IOMFB_MAX_CB] = {
5353
[110] = trampoline_true, /* create_pmu_service */
5454
[111] = trampoline_true, /* create_iomfb_service */
5555
[112] = trampoline_create_backlight_service,
56-
[113] = trampoline_true, /* create_nvram_servce? */
56+
[113] = trampoline_true, /* create_nvram_service? */
5757
[114] = trampoline_get_tiling_state,
5858
[115] = trampoline_false, /* set_tiling_state */
5959
[120] = dcpep_cb_boot_1,

0 commit comments

Comments
 (0)