Skip to content
Commit 3ac19bb4 authored by Ben Dooks's avatar Ben Dooks
Browse files

[ARM] S3C: Do not set clk->owner field if unset



The s3c24xx_register_clock() function has been doing a test
on clk->owner to see if it is NULL, and then setting itself
as the owner if clk->owner == NULL.

This is not needed, arch/arm/plat-s3c/clock.c cannot be
compiled as a module, and even if it was, it should not be
playing with this field if it being registered from somewhere
else.

The best course of action is to remove this bit of
code completely.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent a8af6de0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment